Commit ab0cad52 authored by Martin v. Löwis's avatar Martin v. Löwis

Pass the Makefile's value of CC and LDSHARED to the environment of setup.py.

This fixes the problem reported in bug report #438786.
parent 1cb560a6
...@@ -288,7 +288,7 @@ platform: $(PYTHON) ...@@ -288,7 +288,7 @@ platform: $(PYTHON)
# Build the shared modules # Build the shared modules
sharedmods: $(PYTHON) sharedmods: $(PYTHON)
./$(PYTHON) -E $(srcdir)/setup.py build CC='$(CC)' LDSHARED='$(LDSHARED)' ./$(PYTHON) -E $(srcdir)/setup.py build
# buildno should really depend on something like LIBRARY_SRC # buildno should really depend on something like LIBRARY_SRC
buildno: $(PARSER_OBJS) \ buildno: $(PARSER_OBJS) \
......
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