[Python-checkins] CVS: python/dist/src Makefile.pre.in,1.49,1.50

Martin v. L?wis loewis@users.sourceforge.net
Fri, 10 Aug 2001 13:18:28 -0700


Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv25270

Modified Files:
	Makefile.pre.in 
Log Message:
Pass the Makefile's value of CC and LDSHARED to the environment of setup.py.
This fixes the problem reported in bug report #438786.


Index: Makefile.pre.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/Makefile.pre.in,v
retrieving revision 1.49
retrieving revision 1.50
diff -C2 -d -r1.49 -r1.50
*** Makefile.pre.in	2001/08/08 13:18:36	1.49
--- Makefile.pre.in	2001/08/10 20:18:26	1.50
***************
*** 289,293 ****
  # Build the shared modules
  sharedmods: $(PYTHON)
! 	./$(PYTHON) -E $(srcdir)/setup.py build
  
  # buildno should really depend on something like LIBRARY_SRC
--- 289,293 ----
  # Build the shared modules
  sharedmods: $(PYTHON)
! 	CC='$(CC)' LDSHARED='$(LDSHARED)' ./$(PYTHON) -E $(srcdir)/setup.py build
  
  # buildno should really depend on something like LIBRARY_SRC