summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index c0997fd..14b3a1b 100755
--- a/setup.py
+++ b/setup.py
@@ -219,7 +219,7 @@ class BuildLibpythonize(Command):
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.append("-lpython%i.%i%s" % (sys.version_info[0], sys.version_info[1], sys.abiflags) )
linklist.extend(sysconfig.get_config_var("LIBS").split())
linklist.append("-lm")