Updated mac static archiver script to strip binaries.

This commit is contained in:
Casey Langen 2017-03-15 21:16:52 -07:00
parent 0d42120c9c
commit 9af32e8afc

View File

@ -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