1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2025-03-10 13:44:37 +00:00

Fix cocoa build script

It wouldn't properly find python 3.5 dylib for linking.
This commit is contained in:
Virgil Dupras 2016-07-01 19:50:19 -04:00
parent 215307df93
commit e69a1764a0

View File

@ -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 # 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 # to look for without making the whole compilation process fail, so I just create a symlink
# with the name WAF is looking for. # 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): if not op.exists(versioned_dylib_path):
os.symlink('../build/Python', 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. # The rest is standard WAF code that you can find the the python and macapp demos.