diff options
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -218,17 +218,17 @@ class BuildLibpythonize(Command): cmdlist.append("-rpath"); cmdlist.append(self.install_dir) cmdlist.append("-o"); cmdlist.append(os.path.join(self.build_dir,'libpythonize.la')) # Link libs - lintdelist = [] - lintdelist.append("-lpython%i.%i" % (sys.version_info[0],sys.version_info[1]) ) - lintdelist.extend(sysconfig.get_config_var("LIBS").split()) + linklist = [] + linklist.append("-lpython%i.%i" % (sys.version_info[0],sys.version_info[1]) ) + linklist.extend(sysconfig.get_config_var("LIBS").split()) - lintdelist.append("-lm") - lintdelist.append("-lc") - lintdelist.append(self.clib) + linklist.append("-lm") + linklist.append("-lc") + linklist.append(self.clib) - lintdelist.append("-R"); lintdelist.append(self.python_dir) + linklist.append("-R"); linklist.append(self.python_dir) - cmdlist.extend(lintdelist) + cmdlist.extend(linklist) spawn(cmdlist) # Execute!! print |