Commit 2d652bac authored by Matthias Klose's avatar Matthias Klose

- Issue #15591: Fix parsing MAKEFLAGS in the sharedmods target.

parents a0578e94 25b10a28
......@@ -475,7 +475,12 @@ $(SYSCONFIGDATA): $(BUILDPYTHON)
# Build the shared modules
sharedmods: $(BUILDPYTHON) $(SYSCONFIGDATA)
case $$MAKEFLAGS in *s*) quiet=-q; esac; \
if which getopt >/dev/null; then \
mflags=`getopt s $$MAKEFLAGS 2>/dev/null | sed 's/ --.*/ /'`; \
else \
mflags=" $$MAKEFLAGS "; \
fi; \
case $$mflags in "* -s *") quiet=-q; esac; \
$(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \
$(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment