This commit is contained in:
Nadia Holmquist Pedersen 2021-04-24 21:06:25 +02:00
parent 0834fc1533
commit ede6e832d8
1 changed files with 1 additions and 1 deletions

View File

@ -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