From d210be3540f10d495ed4d1b3bb4ac21487482288 Mon Sep 17 00:00:00 2001 From: Kylart Date: Sun, 5 Sep 2021 02:26:17 +0200 Subject: [PATCH] added relative path and hardcoded libboost change --- scripts/externals/libs/collect-dylib-deps.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/externals/libs/collect-dylib-deps.sh b/scripts/externals/libs/collect-dylib-deps.sh index ce96b9c..7c9e26b 100755 --- a/scripts/externals/libs/collect-dylib-deps.sh +++ b/scripts/externals/libs/collect-dylib-deps.sh @@ -39,11 +39,12 @@ then install_name_tool -change /System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage.framework/Versions/A/CoreImage ./public/mpv/libavfilter.7.dylib install_name_tool -change /usr/local/opt/mpv/lib/libmpv.1.dylib '@loader_path/libmpv.1.dylib' ./public/mpv/mpvjs.node - cp bindings/build/Release/kawatorrent.node public/kawatorrent.node - cp bindings/build/Release/kawaparser.node public/kawaparser.node + cp ./bindings/build/Release/kawatorrent.node ./public/kawatorrent.node + cp ./bindings/build/Release/kawaparser.node ./public/kawaparser.node - install_name_tool -change "@rpath/libtorrent-rasterbar.10.dylib" "@loader_path/libtorrent-rasterbar.10.dylib" public/kawatorrent.node - install_name_tool -change "@rpath/libboost_system.dylib" "@loader_path/libboost_system.dylib" public/kawatorrent.node + install_name_tool -change "@rpath/libtorrent-rasterbar.10.dylib" "@loader_path/libtorrent-rasterbar.10.dylib" ./public/kawatorrent.node + install_name_tool -change "@rpath/libboost_system.dylib" "@loader_path/libboost_system.dylib" ./public/kawatorrent.node + install_name_tool -change "/usr/local/opt/boost/lib/libboost_system-mt.dylib" "@loader_path/libboost_system.dylib" ./public/kawatorrent.node copy_deps bindings/build/Release/kawatorrent.node public copy_deps bindings/build/Release/kawaparser.node public