From ede6e832d84b9d4b1117ee480122480a7c540509 Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Sat, 24 Apr 2021 21:06:25 +0200 Subject: [PATCH] fark --- tools/mac-libs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mac-libs.sh b/tools/mac-libs.sh index c3074447..1e733aba 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