]> granicus.if.org Git - python/commitdiff
Pass the Makefile's value of CC and LDSHARED to the environment of setup.py.
authorMartin v. Löwis <martin@v.loewis.de>
Fri, 10 Aug 2001 20:18:26 +0000 (20:18 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Fri, 10 Aug 2001 20:18:26 +0000 (20:18 +0000)
This fixes the problem reported in bug report #438786.

Makefile.pre.in

index 2bd9ba394aee4c7477dad52a4fb79ad33939e6a0..1e4334db5cd7f8b62d812a7a613e56bcab1476c9 100644 (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) \