Script updates.

This commit is contained in:
casey langen 2022-02-08 13:38:11 -08:00
parent f113c3ce61
commit 36e825cc4b

View File

@ -1,14 +1,18 @@
#!/bin/bash #!/bin/bash
mkdir -p bin/lib/
mkdir -p bin/plugins/
pushd bin/plugins
rm lib 2> /dev/null
ln -s ../lib/
popd
PLATFORM=$(uname) PLATFORM=$(uname)
if [[ "$PLATFORM" == 'Darwin' ]]; then if [[ "$PLATFORM" == 'Darwin' ]]; then
echo "[stage-static-vendor-libraries] no-op on darwin. not required." echo "[stage-static-vendor-libraries] no-op on darwin. not required."
exit 0 exit 0
fi elif [[ "$PLATFORM" == 'Linux' ]]; then
echo "[stage-static-vendor-libraries] staging linux libraries..."
mkdir -p bin/lib/
mkdir -p bin/plugins/
cp vendor/boost-bin/lib/libboost_filesystem.so.1.78.0 ./bin/lib/ cp vendor/boost-bin/lib/libboost_filesystem.so.1.78.0 ./bin/lib/
cp vendor/boost-bin/lib/libboost_thread.so.1.78.0 ./bin/lib/ cp vendor/boost-bin/lib/libboost_thread.so.1.78.0 ./bin/lib/
cp vendor/ffmpeg-bin/lib/libavcodec-musikcube.so.59 ./bin/lib/ cp vendor/ffmpeg-bin/lib/libavcodec-musikcube.so.59 ./bin/lib/
@ -26,3 +30,4 @@ cp /lib/x86_64-linux-gnu/libmpg123.so.0 ./bin/lib
cp /lib/x86_64-linux-gnu/libvorbis.so.0 ./bin/lib cp /lib/x86_64-linux-gnu/libvorbis.so.0 ./bin/lib
cp /lib/x86_64-linux-gnu/libvorbisfile.so.3 ./bin/lib cp /lib/x86_64-linux-gnu/libvorbisfile.so.3 ./bin/lib
cp /lib/x86_64-linux-gnu/libogg.so.0 ./bin/lib cp /lib/x86_64-linux-gnu/libogg.so.0 ./bin/lib
fi