|
|
@ -219,7 +219,7 @@ class BuildLibpythonize(Command):
|
|
|
|
cmdlist.append("-o"); cmdlist.append(os.path.join(self.build_dir,'libpythonize.la'))
|
|
|
|
cmdlist.append("-o"); cmdlist.append(os.path.join(self.build_dir,'libpythonize.la'))
|
|
|
|
# Link libs
|
|
|
|
# Link libs
|
|
|
|
linklist = []
|
|
|
|
linklist = []
|
|
|
|
linklist.append("-lpython%i.%i" % (sys.version_info[0],sys.version_info[1]) )
|
|
|
|
linklist.append("-lpython%i.%i%s" % (sys.version_info[0], sys.version_info[1], sys.abiflags) )
|
|
|
|
linklist.extend(sysconfig.get_config_var("LIBS").split())
|
|
|
|
linklist.extend(sysconfig.get_config_var("LIBS").split())
|
|
|
|
|
|
|
|
|
|
|
|
linklist.append("-lm")
|
|
|
|
linklist.append("-lm")
|
|
|
|