Changeset 293

Show
Ignore:
Timestamp:
Fri Oct 27 08:45:34 2006
Author:
giovannibajo
Message:

In [128], Make.py was changed to generate a Makefile which links against
the dynamic library of Python. This looks like a mistake, since the
distribution than depends on libpythonX.X.so.
I changed it back, so that it still uses syconfig to extract the correct
path of the static library. The problem now appears to be that not all
distributions include a static library...

Files:

Legend:

Unmodified
Added
Removed
Modified
  • branches/mac/source/linux/Make.py

    r275 r293  
    162 162         cflags.append('-DNONELF')  
    163 163  
    164       libs = [os.path.join(binlib, sysconfig.get_config_vars('INSTSONAME')[0])]  
    165   #    libs = [os.path.join(sysconfig.get_config_vars('LIBDIR')[0], sysconfig.get_config_vars('INSTSONAME')[0])]  
    166    
      164     libs = [os.path.join(sysconfig.get_config_vars('LIBPL')[0], sysconfig.get_config_vars('LIBRARY')[0])]  
      165     if not os.path.isfile(libs[0]):  
      166         print "WARNING: could not find Python static library at:", libs[0]  
    167 167  
    168 168     somevars = {}