aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/mac-libs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mac-libs.sh b/tools/mac-libs.sh
index c307444..1e733ab 100755
--- a/tools/mac-libs.sh
+++ b/tools/mac-libs.sh
@@ -44,7 +44,7 @@ if [[ ! -d "$plugindir" ]]; then
fi
fixup_libs() {
- local libs=($(otool -L "$1" | grep -vE "/System|/usr/lib|:$|@rpath" | sed -E 's/'$'\t''(.*) \(.*$/\1/'))
+ local libs=($(otool -L "$1" | grep -vE "/System|/usr/lib|:$|@rpath|@loader_path|@executable_path" | sed -E 's/'$'\t''(.*) \(.*$/\1/'))
for lib in "${libs[@]}"; do
if [[ "$lib" != *"/"* ]]; then