Commit 9da285af authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Android: use libc++_shared if clang is to be used

parent b15a92a2
......@@ -9,9 +9,13 @@ shift
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 \
......
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