I found another issue while building a DMG on macOS 10.13.3.
While collecting the libraries which need to be added to the app bundle,
objdump shows an error as follows:
'Wireshark.app/Contents/Frameworks/QtCore.framework': Is a directory
Therefore, I added a check to filter out all directories in the
$lib_dep_search_list, so that only files are evaluated.
@@ -368,8 +368,11 @@ while $endl; do
# when built by macosx-setup.sh. We have to fix that; that's
# what the sed command does.
+ for i in $lib_dep_search_list; do
+ [ -f $i ] && libs="$libs $i";
- otool -L $lib_dep_search_list 2>/dev/null \
+ otool -L $libs 2>/dev/null \
| fgrep compatibility \
| cut -d\( -f1 \
| sed '1,$s;^ libssh; /usr/local/lib/libssh;' \
PS: Please CC me as I'm not subscribed to the mailing list.
Sent via: Wireshark-dev mailing list <firstname.lastname@example.org>