mirror of https://github.com/Kylart/KawAnime.git
Updated collect dylib script to copy bindings to public first
This commit is contained in:
parent
1a100a4835
commit
f6f67d1e07
|
@ -39,8 +39,11 @@ 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
|
||||
|
||||
install_name_tool -change "@rpath/libtorrent-rasterbar.10.dylib" "@loader_path/libtorrent-rasterbar.10.dylib" bindings/build/Release/kawatorrent.node
|
||||
install_name_tool -change "@rpath/libboost_system.dylib" "@loader_path/libboost_system.dylib" bindings/build/Release/kawatorrent.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
|
||||
|
||||
copy_deps bindings/build/Release/kawatorrent.node public
|
||||
copy_deps bindings/build/Release/kawaparser.node public
|
||||
|
|
Loading…
Reference in New Issue