mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Pass the Makefile's value of CC and LDSHARED to the environment of setup.py.
This fixes the problem reported in bug report #438786.
This commit is contained in:
parent
1cb560a653
commit
ab0cad520d
1 changed files with 1 additions and 1 deletions
|
@ -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) \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue