summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/setup.py b/setup.py
index 2d4bd2f..b26227f 100755
--- a/setup.py
+++ b/setup.py
@@ -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