From: Brett Cannon Date: Mon, 21 Jan 2008 23:50:16 +0000 (+0000) Subject: Make's MAKEFLAGS variable is set to a string containing the single-letter X-Git-Tag: v2.6a1~466 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=19d3afc23d2c81320700d44a0c6d59648b1a62d3;p=python Make's MAKEFLAGS variable is set to a string containing the single-letter arguments to Make. This means there are no hyphens. Fix the '-s' check to silence distutils to now work. --- diff --git a/Makefile.pre.in b/Makefile.pre.in index a56c91c2f5..ede3bd8d48 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -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