mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-24 01:08:10 +02:00
Use Python rather than Python.framework for linking
This commit is contained in:
2
setup.py
2
setup.py
@@ -84,7 +84,7 @@ def init_env(debug=False, asan=False):
|
|||||||
except ValueError:
|
except ValueError:
|
||||||
fd = sysconfig.get_config_var('LIBDEST')
|
fd = sysconfig.get_config_var('LIBDEST')
|
||||||
fd = fd[:fd.index('/Python.framework')]
|
fd = fd[:fd.index('/Python.framework')]
|
||||||
pylib = ['-F', fd, '-framework', 'Python.framework']
|
pylib = ['-F' + fd, '-framework', 'Python']
|
||||||
else:
|
else:
|
||||||
lib = sysconfig.get_config_var('LDLIBRARY')
|
lib = sysconfig.get_config_var('LDLIBRARY')
|
||||||
if lib.startswith('lib'):
|
if lib.startswith('lib'):
|
||||||
|
|||||||
Reference in New Issue
Block a user