From ab0cad520dc97cc429b912a0c49dfe75305dc684 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Fri, 10 Aug 2001 20:18:26 +0000 Subject: [PATCH] Pass the Makefile's value of CC and LDSHARED to the environment of setup.py. This fixes the problem reported in bug report #438786. --- Makefile.pre.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in index 2bd9ba394ae..1e4334db5cd 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -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) \