Commit 53736fc2 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

android: use c++_shared on all builds

parent 8a696a27
......@@ -10,17 +10,14 @@ url=$1
shift
ARGS=
if [ "$STANDALONE_CC" = "clang" ]; then
ARGS+=" -DCMAKE_ANDROID_STL_TYPE=c++_shared"
fi
$DIR/build-cmake-native $name $url \
$ARGS \
-DCMAKE_INSTALL_PREFIX=${APP_INSTALL_PREFIX-"/opt/kdeandroid-deps"} \
-DCMAKE_PREFIX_PATH="$QT_ANDROID;/opt/kdeandroid-deps;$APP_INSTALL_PREFIX" \
-DCMAKE_BUILD_TYPE=debug \
-DCMAKE_TOOLCHAIN_FILE=/opt/kdeandroid-deps/share/ECM/toolchain/Android.cmake \
-DCMAKE_ANDROID_NDK_TOOLCHAIN_VERSION=$ANDROID_NDK_TOOLCHAIN_VERSION \
-DCMAKE_ANDROID_API=${ANDROID_NDK_PLATFORM:8} \
-DCMAKE_ANDROID_STL_TYPE=c++_shared \
-DKF5_HOST_TOOLING=/opt/nativetooling/lib/x86_64-linux-gnu/cmake/ \
$@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment