Add abiflags to the name of the linked Python 3 library in tdedistutils.py.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/8/head
Slávek Banko 1 year ago
parent 54d0b09bb5
commit 6ffb11c0e1
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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.

Loading…
Cancel
Save