From e69a1764a0f50a87d6236df0d6edd66fce3ad8ae Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Fri, 1 Jul 2016 19:50:19 -0400 Subject: [PATCH] Fix cocoa build script It wouldn't properly find python 3.5 dylib for linking. --- cocoa/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocoa/wscript b/cocoa/wscript index 64f7cb5b..bd7f58a9 100644 --- a/cocoa/wscript +++ b/cocoa/wscript @@ -21,7 +21,7 @@ def configure(conf): # I did a lot of fiddling-around, but I didn't find how to tell WAF the Python library name # to look for without making the whole compilation process fail, so I just create a symlink # with the name WAF is looking for. - versioned_dylib_path = '../build/libpython{}.dylib'.format(sys.version[:3]) + versioned_dylib_path = '../build/libpython{}m.dylib'.format(sys.version[:3]) if not op.exists(versioned_dylib_path): os.symlink('../build/Python', versioned_dylib_path) # The rest is standard WAF code that you can find the the python and macapp demos.