From: Martin v. Löwis Date: Fri, 10 Aug 2001 20:18:26 +0000 (+0000) Subject: Pass the Makefile's value of CC and LDSHARED to the environment of setup.py. X-Git-Tag: v2.2a3~663 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ab0cad520dc97cc429b912a0c49dfe75305dc684;p=thirdparty%2FPython%2Fcpython.git Pass the Makefile's value of CC and LDSHARED to the environment of setup.py. This fixes the problem reported in bug report #438786. --- diff --git a/Makefile.pre.in b/Makefile.pre.in index 2bd9ba394aee..1e4334db5cd7 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) \