Skip to content

Commit

Permalink
Avoid build-time static libraries in android packages
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPeshkoff authored and aurelienjoncour committed Jun 16, 2023
1 parent 763f0cf commit e90cb05
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions builds/install/arch-specific/android/BuildPackage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,19 @@ Stripped=strip
aStrip=${NDK}/toolchains/${cross}-4.9/prebuilt/linux-x86_64/bin/${cross}-strip
fbRootDir=`pwd`

runTar()
{
tarfile=${1}
tar cvfz ${tarfile} --exclude '*.a' firebird
}

cd gen/Release
rm -rf ${Stripped}
cp ${fbRootDir}/builds/install/arch-specific/android/AfterUntar.sh firebird
echo .
echo .
echo "Compress with deb-info"
tar cvfz ../${Debug} firebird
runTar ../${Debug}

echo .
echo .
Expand All @@ -42,5 +48,5 @@ done
echo .
echo .
echo "Compress release"
tar cvfz ../../${Release} firebird
runTar ../../${Release}
cd ..

0 comments on commit e90cb05

Please sign in to comment.