# HG changeset patch # User John Donoghue # Date 1402315217 14400 # Node ID 566fd51378f2200c0dbdc66b981ccf7f49660543 # Parent 360eff7d9c06a26088a10c2c691c5bf2b6f8054e Use system python in native mingw * Makefile.in: if native mingw build, add python requirement and dont build build-python. * src/build-scons.mk: in native mingw, do not have dependancy on build-python. diff -r 360eff7d9c06 -r 566fd51378f2 Makefile.in --- a/Makefile.in Mon Jun 09 08:11:22 2014 -0400 +++ b/Makefile.in Mon Jun 09 08:00:17 2014 -0400 @@ -203,6 +203,11 @@ REQUIREMENTS += makeinfo xz BUILD_TOOLS := $(filter-out build-texinfo build-xz, $(BUILD_TOOLS)) endif +# use the a native python in native mingw +ifeq ($(MXE_NATIVE_MINGW_BUILD),yes) + REQUIREMENTS += python + BUILD_TOOLS := $(filter-out build-python, $(BUILD_TOOLS)) +endif ifeq ($(USE_SYSTEM_GCC),yes) diff -r 360eff7d9c06 -r 566fd51378f2 src/build-scons.mk --- a/src/build-scons.mk Mon Jun 09 08:11:22 2014 -0400 +++ b/src/build-scons.mk Mon Jun 09 08:00:17 2014 -0400 @@ -8,7 +8,11 @@ $(PKG)_SUBDIR := scons-$($(PKG)_VERSION) $(PKG)_FILE := scons-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://prdownloads.sourceforge.net/scons/$($(PKG)_FILE) -$(PKG)_DEPS := build-python +ifeq ($(MXE_NATIVE_MINGW_BUILD),yes) + $(PKG)_DEPS := +else + $(PKG)_DEPS := build-python +endif define $(PKG)_UPDATE echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;