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:
Martin v. Löwis 2001-08-10 20:18:26 +00:00
parent 1cb560a653
commit ab0cad520d
1 changed files with 1 additions and 1 deletions

View File

@ -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) \