mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 11:10:52 +00:00
Use brew --prefix
instead of hard coding brew path.
This commit is contained in:
parent
e17a65b2fe
commit
3a590caf23
@ -57,7 +57,6 @@ mkdir -p $OUTDIR/lib
|
||||
mkdir -p $OUTDIR/plugins
|
||||
mkdir -p $OUTDIR/locales
|
||||
mkdir -p $OUTDIR/themes
|
||||
mkdir -p $OUTDIR/share/terminfo
|
||||
|
||||
cp bin/musikcube $OUTDIR
|
||||
cp bin/musikcubed $OUTDIR
|
||||
@ -66,7 +65,11 @@ cp bin/lib/* $OUTDIR/lib
|
||||
cp bin/plugins/*.${DLL_EXT} $OUTDIR/plugins
|
||||
cp bin/locales/*.json $OUTDIR/locales
|
||||
cp bin/themes/*.json $OUTDIR/themes
|
||||
cp -rfp bin/share/terminfo/* $OUTDIR/share/terminfo/
|
||||
|
||||
if [ $OS == "Darwin" ]; then
|
||||
mkdir -p $OUTDIR/share/terminfo
|
||||
cp -rfp bin/share/terminfo/* $OUTDIR/share/terminfo/
|
||||
fi
|
||||
|
||||
strip $OUTDIR/musikcube
|
||||
strip $OUTDIR/musikcubed
|
||||
|
@ -40,7 +40,7 @@ if [[ "$PLATFORM" == 'Darwin' ]]; then
|
||||
cp vendor/lame-bin/lib/libmp3lame.0.dylib ./bin/lib
|
||||
|
||||
mkdir -p ./bin/share/terminfo
|
||||
cp -rfp /opt/homebrew/Cellar/ncurses/6.3/share/terminfo/* ./bin/share/terminfo
|
||||
cp -rfp $(brew --prefix)/Cellar/ncurses/6.3/share/terminfo/* ./bin/share/terminfo
|
||||
|
||||
elif [[ "$PLATFORM" == 'Linux' ]]; then
|
||||
echo "[stage-static-vendor-libraries] staging Linux .so files..."
|
||||
|
Loading…
Reference in New Issue
Block a user