[Python-checkins] CVS: python/dist/src setup.py,1.73,1.74

Martin v. L?wis loewis@users.sourceforge.net
Tue, 01 Jan 2002 12:18:32 -0800


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

Modified Files:
	setup.py 
Log Message:
Patch #497126: Always compile dl.


Index: setup.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/setup.py,v
retrieving revision 1.73
retrieving revision 1.74
diff -C2 -d -r1.73 -r1.74
*** setup.py	2001/12/17 17:24:43	1.73
--- setup.py	2002/01/01 20:18:30	1.74
***************
*** 568,571 ****
--- 568,576 ----
                                     libraries = ['expat']) )
  
+ 	# Dynamic loading module
+         dl_inc = find_file('dlfcn.h', [], inc_dirs)
+         if dl_inc is not None:
+ 		exts.append( Extension('dl', ['dlmodule.c']) )
+ 		
          # Platform-specific libraries
          if platform == 'linux2':