Add libraries to artifacts

This commit is contained in:
Johannes Lenzen
2021-02-02 16:15:16 +01:00
parent 4be641088f
commit 78af6cb1a7
2 changed files with 13 additions and 0 deletions

View File

@@ -55,6 +55,15 @@ else
# build unittests
make $MAKE_OPTIONS unittests
# Creating System Library folder to contain all dependend libraries to run OpenFlipper
if [ ! -d systemlib ]; then
echo "Creating systemlib folder"
mkdir systemlib
fi
echo "Copying all required libraries of OpenFlipper to the systemlib directory"
ldd bin/OpenFlipper | grep "=> /" | awk '{print $3}' | xargs -I '{}' cp -v '{}' systemlib
fi
cd ..