mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-10 05:34:36 +00:00
Fix cocoa build script
It wouldn't properly find python 3.5 dylib for linking.
This commit is contained in:
parent
215307df93
commit
e69a1764a0
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user