Skip to content

Commit

Permalink
Use Python rather than Python.framework for linking
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Jan 8, 2017
1 parent 195b2c0 commit 0cd0a9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def init_env(debug=False, asan=False):
except ValueError:
fd = sysconfig.get_config_var('LIBDEST')
fd = fd[:fd.index('/Python.framework')]
pylib = ['-F', fd, '-framework', 'Python.framework']
pylib = ['-F' + fd, '-framework', 'Python']
else:
lib = sysconfig.get_config_var('LDLIBRARY')
if lib.startswith('lib'):
Expand Down

0 comments on commit 0cd0a9f

Please sign in to comment.