From f2904ee5ae55d88c920d5411f1476a985b0447d1 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 16 Jul 2020 23:04:52 +0200 Subject: [PATCH] sigrok-native-macosx: Fix a command-line handling issue. Previously "./create_dmg" and "./create_dmg pulseview" would not have the same behaviour. --- cross-compile/macosx/create_dmg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cross-compile/macosx/create_dmg b/cross-compile/macosx/create_dmg index 2821533..9dc3869 100755 --- a/cross-compile/macosx/create_dmg +++ b/cross-compile/macosx/create_dmg @@ -74,7 +74,7 @@ rm -rf $SHARE_DIR/libsigrokdecode/decoders/**/__pycache__ rm -rf $SHARE_DIR/libsigrokdecode/decoders/common/**/__pycache__ cp -R $PREFIX/share/sigrok-firmware $SHARE_DIR -if [ "x$1" = "xpulseview" ]; then +if [ "x$APPNAME_BINARY" = "xpulseview" ]; then # Manually copy some boost libs that "macdeployqt" won't copy. cp $BOOSTLIBDIR/libboost_timer-mt.dylib $FRAMEWORKSDIR cp $BOOSTLIBDIR/libboost_chrono-mt.dylib $FRAMEWORKSDIR -- 2.30.2