From 354be8a1f58f2a8808521841e972951fc8ac7e21 Mon Sep 17 00:00:00 2001 From: zhengshuxin Date: Tue, 8 Oct 2019 17:58:16 +0800 Subject: [PATCH] modify xbuild.sh --- xbuild.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xbuild.sh b/xbuild.sh index 3e834e915..6da831d4c 100755 --- a/xbuild.sh +++ b/xbuild.sh @@ -4,11 +4,11 @@ RELEASE_PATH=android/lib/armeabi-v7a BUILD_PATH=build/release/armv7-a mkdir -p $RELEASE_PATH rm -rf .xmake -rm -r build/release +rm -rf build/release xmake f -k shared -p android --ndk=/data/zsx/android-ndk-r16b/ -c --ndk_cxxstl=gnustl_shared; xmake cp -a $BUILD_PATH/*.so $RELEASE_PATH/ rm -rf .xmake -rm -r build/release +rm -rf build/release xmake f -k static -p android --ndk=/data/zsx/android-ndk-r16b -c --ndk_cxxstl=gnustl_shared; xmake cp $BUILD_PATH/*.a $RELEASE_PATH/