summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-01-19 19:19:41 +0100
committerSlávek Banko <slavek.banko@axis.cz>2023-01-20 02:47:24 +0100
commit6ffb11c0e197b7190d395bdea420ccfaceff5375 (patch)
tree7cfb00165d9b6417bd5064418e96fb0f34d44f31
parent54d0b09bb53a3be32ea8f3144fddeb4394757283 (diff)
downloadpytdeextensions-6ffb11c0e197b7190d395bdea420ccfaceff5375.tar.gz
pytdeextensions-6ffb11c0e197b7190d395bdea420ccfaceff5375.zip
Add abiflags to the name of the linked Python 3 library in tdedistutils.py.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--src/tdedistutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tdedistutils.py b/src/tdedistutils.py
index 35cfb28..00a5ced 100644
--- a/src/tdedistutils.py
+++ b/src/tdedistutils.py
@@ -826,7 +826,7 @@ class BuildKControlModule(Command):
cmdlist.append("-o"); cmdlist.append(os.path.join(self.build_dir,stub_la_name))
# Link libs
linklist = []
- linklist.append("-lpython%s" % python_version)
+ linklist.append("-lpython%s%s" % (python_version, sys.abiflags))
linklist.extend(sysconfig.get_config_var("LIBS").split())
# FIXME I doubt half of these libraries need to be here.