Skip to content

Commit

Permalink
Fix[freetype]: proper copy path
Browse files Browse the repository at this point in the history
  • Loading branch information
artdeell authored Jul 13, 2024
1 parent ebadc2e commit fc694e3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ci_build_android.bash
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ if [ "$SKIP_FREETYPE" != "1" ]; then
make install

llvm-strip ./build_android-$LWJGL_BUILD_ARCH/lib/libfreetype.so
cp ./build_android-$LWJGL_BUILD_ARCH/lib/libfreetype.so $LWJGL_NATIVE/
cp ./build_android-$LWJGL_BUILD_ARCH/lib/libfreetype.so $LWJGL_NATIVE/freetype/
cd ..
rm -rf freetype-$BUILD_FREETYPE_VERSION
unset BUILD_FREETYPE_VERSION
Expand Down Expand Up @@ -128,9 +128,7 @@ yes | ant -Dplatform.linux=true \
rm -rf bin/out; mkdir bin/out
find $LWJGL_NATIVE -name 'liblwjgl*.so' -exec cp {} bin/out/ \;
cp $LWJGL_NATIVE/shaderc/libshaderc.so bin/out/
if[ -e $LWJGL_NATIVE/libfreetype.so ]; then
cp $LWJGL_NATIVE/libfreetype.so bin/out/
fi
cp $LWJGL_NATIVE/freetype/libfreetype.so bin/out/

# Cleanup unused output jar files
find bin/RELEASE \( -name '*-natives-*' -o -name '*-sources.jar' \) -delete

0 comments on commit fc694e3

Please sign in to comment.