diff options
author | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2021-04-24 21:06:25 +0200 |
---|---|---|
committer | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2021-04-24 21:06:25 +0200 |
commit | ede6e832d84b9d4b1117ee480122480a7c540509 (patch) | |
tree | 70e5418483d2f075e07b3b611a172325debbe281 /tools | |
parent | 0834fc1533d2f871ec6c62dff5ca8548adc25959 (diff) |
fark
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/mac-libs.sh | 2 |
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 |