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 - linklist = [] - linklist.append("-lpython%i.%i" % (sys.version_info[0],sys.version_info[1]) ) - linklist.extend(sysconfig.get_config_var("LIBS").split()) + lintdelist = [] + lintdelist.append("-lpython%i.%i" % (sys.version_info[0],sys.version_info[1]) ) + lintdelist.extend(sysconfig.get_config_var("LIBS").split()) - linklist.append("-lm") - linklist.append("-lc") - linklist.append(self.clib) + lintdelist.append("-lm") + lintdelist.append("-lc") + lintdelist.append(self.clib) - linklist.append("-R"); linklist.append(self.python_dir) + lintdelist.append("-R"); lintdelist.append(self.python_dir) - cmdlist.extend(linklist) + cmdlist.extend(lintdelist) spawn(cmdlist) # Execute!! print |