]> granicus.if.org Git - python/commitdiff
- fix paste error (whitespace) from previous commit
authorMatthias Klose <doko@ubuntu.com>
Tue, 28 Aug 2012 17:08:42 +0000 (19:08 +0200)
committerMatthias Klose <doko@ubuntu.com>
Tue, 28 Aug 2012 17:08:42 +0000 (19:08 +0200)
1  2 
Makefile.pre.in

diff --cc Makefile.pre.in
index 9f5e2a14efc93adb56b677457403b84930fec33b,de08382c23c6039e63e8e88921f34148b55eb35d..e0356e6c7fb202830eb51a8a88043aaa33656422
@@@ -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 "; \