mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-03-29 08:39:03 +08:00
mac: Fix linking error when running chromedriver
This commit is contained in:
@@ -124,6 +124,12 @@ def copy_chromedriver():
|
||||
# Fix the linking with boringssl.
|
||||
if TARGET_PLATFORM == 'linux':
|
||||
execute(['chrpath', '-r', '$ORIGIN', dest])
|
||||
elif TARGET_PLATFORM == 'darwin':
|
||||
shutil.copy2(os.path.join(CHROMIUM_DIR, 'libboringssl.dylib'), DIST_DIR)
|
||||
execute(['install_name_tool', '-change',
|
||||
'/usr/local/lib/libboringssl.dylib',
|
||||
'@loader_path/libboringssl.dylib',
|
||||
dest])
|
||||
|
||||
|
||||
def copy_license():
|
||||
|
||||
Reference in New Issue
Block a user