diff --git a/scripts/externals/libs/collect-dylib-deps.sh b/scripts/externals/libs/collect-dylib-deps.sh index 5c9a329..76d1ad6 100755 --- a/scripts/externals/libs/collect-dylib-deps.sh +++ b/scripts/externals/libs/collect-dylib-deps.sh @@ -27,7 +27,12 @@ then set +x copy_deps /usr/local/lib/libmpv.1.dylib public/mpv - copy_deps bindings/build/Release/libtorrent-rasterbar.10.dylib public + + if [ -f bindings/build/Release/libtorrent-rasterbar.10.dylib ] + then + copy_deps bindings/build/Release/libtorrent-rasterbar.10.dylib public + fi + set -x # See .