aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/macosx/osx-app.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/macosx/osx-app.sh')
-rwxr-xr-xpackaging/macosx/osx-app.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/packaging/macosx/osx-app.sh b/packaging/macosx/osx-app.sh
index 90dc44696c..360c84089e 100755
--- a/packaging/macosx/osx-app.sh
+++ b/packaging/macosx/osx-app.sh
@@ -333,15 +333,23 @@ endl=true
lib_dep_search_list="
$pkglib/*
$pkgbin/*-bin
+ $pkgbin/extcap/*
$pkgexec/Wireshark
"
while $endl; do
echo -e "Looking for dependencies. Round" $a
+ #
+ # libssh, for some reason, has its "install name" set to
+ # just libssh.4.dylib, rather than /usr/local/lib/libssh.4.dylib,
+ # when built by macosx-setup.sh. We have to fix that; that's
+ # what the sed command does.
+ #
libs="`\
otool -L $lib_dep_search_list 2>/dev/null \
| fgrep compatibility \
| cut -d\( -f1 \
+ | sed '1,$s;^ libssh; /usr/local/lib/libssh;' \
| egrep -v "$exclude_prefixes" \
| sort \
| uniq \