From 0cd0a9f77841fd2fb5c30aee289a0fb65bf38b1f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 8 Jan 2017 10:30:01 +0530 Subject: [PATCH] Use Python rather than Python.framework for linking --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 02cb6355e..6af6190eb 100755 --- a/setup.py +++ b/setup.py @@ -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'):