mirror of
https://github.com/python/cpython.git
synced 2024-11-24 18:34:43 +08: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
@ -288,7 +288,7 @@ platform: $(PYTHON)
|
||||
|
||||
# Build the shared modules
|
||||
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: $(PARSER_OBJS) \
|
||||
|
Loading…
Reference in New Issue
Block a user