diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2023-01-09 09:16:43 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2023-01-09 09:16:43 +0100 |
commit | 30c4c2b3b078e0988fd7030db7c036b3e3a1d695 (patch) | |
tree | 44361761aea919b914716b496e4c6115110be622 | |
parent | f75fae3bd1cfb04d64d797d22a9881ba7e27402e (diff) | |
download | pytdeextensions-30c4c2b3b078e0988fd7030db7c036b3e3a1d695.tar.gz pytdeextensions-30c4c2b3b078e0988fd7030db7c036b3e3a1d695.zip |
Add abiflags to the name of the linked Python 3 library.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rwxr-xr-x | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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") |