From 9af32e8afc765197c5e6a1c9ecd7bf2db8da3c55 Mon Sep 17 00:00:00 2001 From: Casey Langen Date: Wed, 15 Mar 2017 21:16:52 -0700 Subject: [PATCH] Updated mac static archiver script to strip binaries. --- archive-macos.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/archive-macos.sh b/archive-macos.sh index dc1566c88..d0900432a 100755 --- a/archive-macos.sh +++ b/archive-macos.sh @@ -7,9 +7,9 @@ if [ -z "$VERSION" ]; then exit fi -rm bin/musikbox -rm -rf bin/musikbox/plugins +rm -rf bin/ +make clean cmake -DCMAKE_BUILD_TYPE=Release -DLINK_STATICALLY=true . make -j4 @@ -26,6 +26,9 @@ cp bin/plugins/*.dylib "$OUTPATH/plugins" cp bin/locales/*.json "$OUTPATH/locales" cp bin/themes/*.json "$OUTPATH/themes" +strip bin/musikbox +strip bin/plugins/*.dylib + pushd bin/dist tar cvf musikbox_macos_static_$VERSION.tar $DIRNAME bzip2 musikbox_macos_static_$VERSION.tar