mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-28 01:49:42 -06:00
fark
This commit is contained in:
@ -44,7 +44,7 @@ if [[ ! -d "$plugindir" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
fixup_libs() {
|
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
|
for lib in "${libs[@]}"; do
|
||||||
if [[ "$lib" != *"/"* ]]; then
|
if [[ "$lib" != *"/"* ]]; then
|
||||||
|
Reference in New Issue
Block a user