Hi,

I like your idea. The attached patch works fine for me.

Regards,
Peter

Am 22.02.2018 um 19:52 schrieb Guy Harris:
> find "$pkglib" "$pkgexec" -type f -print0 | xargs -0 otool -L 
> $lib_dep_search_list
diff --git a/packaging/macosx/osx-app.sh b/packaging/macosx/osx-app.sh
index cb507ae17b..429cef7d92 100755
--- a/packaging/macosx/osx-app.sh
+++ b/packaging/macosx/osx-app.sh
@@ -354,11 +354,6 @@ echo -e "\nFixing up $bundle...\n"
 a=1
 nfiles=0
 endl=true
-lib_dep_search_list="
-	$pkglib/*
-	$pkgexec/*
-	$pkgexec/extcap/*
-	"
 
 while $endl; do
 	echo -e "Looking for dependencies. Round" $a
@@ -369,7 +364,8 @@ while $endl; do
 	# what the sed command does.
 	#
 	libs="`\
-		otool -L $lib_dep_search_list 2>/dev/null \
+		find "$pkglib" "$pkgexec" -type f -print0 \
+		| xargs -0 otool -L 2>/dev/null \
 		| fgrep compatibility \
 		| cut -d\( -f1 \
 		| sed '1,$s;^	libssh;	/usr/local/lib/libssh;' \
 		exit 1
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Reply via email to