]> granicus.if.org Git - python/commitdiff
Make's MAKEFLAGS variable is set to a string containing the single-letter
authorBrett Cannon <bcannon@gmail.com>
Mon, 21 Jan 2008 23:50:16 +0000 (23:50 +0000)
committerBrett Cannon <bcannon@gmail.com>
Mon, 21 Jan 2008 23:50:16 +0000 (23:50 +0000)
arguments to Make. This means there are no hyphens. Fix the '-s' check to
silence distutils to now work.

Makefile.pre.in

index a56c91c2f51841ebaf342e0fc3e759491f550797..ede3bd8d482bd4436bfd30253a077adff48b37c0 100644 (file)
@@ -358,7 +358,7 @@ platform: $(BUILDPYTHON)
 # Build the shared modules
 sharedmods: $(BUILDPYTHON)
        @case $$MAKEFLAGS in \
-       *-s*) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' ./$(BUILDPYTHON) -E $(srcdir)/setup.py -q build;; \
+       *s*) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' ./$(BUILDPYTHON) -E $(srcdir)/setup.py -q build;; \
        *) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' ./$(BUILDPYTHON) -E $(srcdir)/setup.py build;; \
        esac