From: Matthias Klose Date: Tue, 28 Aug 2012 17:08:42 +0000 (+0200) Subject: - fix paste error (whitespace) from previous commit X-Git-Tag: v3.3.1rc1~818^2^2~177 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fc35ecec29a1390be71966565db8080e81352d80;p=thirdparty%2FPython%2Fcpython.git - fix paste error (whitespace) from previous commit --- fc35ecec29a1390be71966565db8080e81352d80 diff --cc Makefile.pre.in index 9f5e2a14efc9,de08382c23c6..e0356e6c7fb2 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@@ -466,16 -430,13 +466,16 @@@ coverage $(BUILDPYTHON): Modules/python.o $(LIBRARY) $(LDLIBRARY) $(PY3LIBRARY) $(LINKCC) $(PY_LDFLAGS) $(LINKFORSHARED) -o $@ Modules/python.o $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST) -platform: $(BUILDPYTHON) - $(RUNSHARED) ./$(BUILDPYTHON) -E -c 'import sys ; from sysconfig import get_platform ; print(get_platform()+"-"+sys.version[0:3])' >platform +platform: $(BUILDPYTHON) $(SYSCONFIGDATA) + $(RUNSHARED) $(PYTHON_FOR_BUILD) -c 'import sys ; from sysconfig import get_platform ; print(get_platform()+"-"+sys.version[0:3])' >platform +# Generate the sysconfig build-time data +$(SYSCONFIGDATA): $(BUILDPYTHON) + $(RUNSHARED) $(PYTHON_FOR_BUILD) -S -m sysconfig --generate-posix-vars # Build the shared modules -sharedmods: $(BUILDPYTHON) +sharedmods: $(BUILDPYTHON) $(SYSCONFIGDATA) - if which getopt >/dev/null; then \ + if which getopt >/dev/null; then \ mflags=`getopt s $$MAKEFLAGS 2>/dev/null | sed 's/ --.*/ /'`; \ else \ mflags=" $$MAKEFLAGS "; \