Skip to content
This repository has been archived by the owner on May 27, 2022. It is now read-only.

Commit

Permalink
Merge pull request #71 from opengisch/shared
Browse files Browse the repository at this point in the history
Shared
  • Loading branch information
signedav authored Aug 28, 2020
2 parents eaacdce + 41a0132 commit e83cf01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
6 changes: 3 additions & 3 deletions distribute.sh
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ function push_arm() {
export CFLAGS="$CFLAGS -isystem $ANDROIDNDK/sysroot/usr/include -isystem $ANDROIDNDK/sysroot/usr/include/$TOOLCHAIN_SHORT_PREFIX"
export CFLAGS="$CFLAGS -D__ANDROID_API__=$ANDROIDAPI"

export CXXFLAGS="$CFLAGS"
export CXXFLAGS="$CFLAGS -stdlib=libc++"
export CPPFLAGS="$CFLAGS"

if [ "X${ARCH}" == "Xarmeabi-v7a" ]; then
Expand All @@ -211,7 +211,7 @@ function push_arm() {
ANDROID_CMAKE_LINKER_FLAGS="$ANDROID_CMAKE_LINKER_FLAGS;-Wl,-rpath=$QT_ANDROID/lib"
ANDROID_CMAKE_LINKER_FLAGS="$ANDROID_CMAKE_LINKER_FLAGS;-Wl,-rpath=$ANDROIDNDK/platforms/android-$ANDROIDAPI/arch-$QT_ARCH_PREFIX/usr/lib"
ANDROID_CMAKE_LINKER_FLAGS="$ANDROID_CMAKE_LINKER_FLAGS;-Wl,-rpath=$ANDROIDNDK/sources/cxx-stl/llvm-libc++/libs/$ARCH"
export LDFLAGS="-Wl,-rpath=$STAGE_PATH/lib $LDFLAGS"
export LDFLAGS="-Wl,-rpath=$STAGE_PATH/lib -Wl,-rpath=$ANDROIDNDK/sources/cxx-stl/llvm-libc++/libs/$ARCH $LDFLAGS"
fi
export PATH="$ANDROIDNDK/toolchains/llvm/prebuilt/$PYPLATFORM-x86_64/bin/:$ANDROIDSDK/tools:$ANDROIDNDK:$QT_ANDROID/bin:$PATH"

Expand Down Expand Up @@ -239,7 +239,7 @@ function push_arm() {
export CMAKECMD="$CMAKECMD -DANDROID_LINKER_FLAGS=$ANDROID_CMAKE_LINKER_FLAGS"
export CMAKECMD="$CMAKECMD -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=$ANDROIDNDK/build/cmake/android.toolchain.cmake"
export CMAKECMD="$CMAKECMD -DCMAKE_FIND_ROOT_PATH:PATH=$ANDROID_NDK;$QT_ANDROID;$BUILD_PATH;$STAGE_PATH"
export CMAKECMD="$CMAKECMD -DANDROID_ABI=$ARCH -DANDROID_NDK=$ANDROID_NDK -DANDROID_NATIVE_API_LEVEL=$ANDROIDAPI -DANDROID=ON"
export CMAKECMD="$CMAKECMD -DANDROID_ABI=$ARCH -DANDROID_NDK=$ANDROID_NDK -DANDROID_NATIVE_API_LEVEL=$ANDROIDAPI -DANDROID=ON -DANDROID_STL=c++_shared"


# export environment for Qt
Expand Down
6 changes: 0 additions & 6 deletions recipes/qtkeychain/recipe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,7 @@ function build_qtkeychain() {

# configure
try $CMAKECMD \
-DQT4_BUILD=OFF \
-DQCA_SUFFIX=qt5 \
-DCMAKE_INSTALL_PREFIX:PATH=$STAGE_PATH \
-DBUILD_TESTS=OFF \
-DBUILD_TOOLS=OFF \
-DWITH_nss_PLUGIN=OFF \
-DWITH_pkcs11_PLUGIN=OFF \
$BUILD_qtkeychain

try $MAKESMP VERBOSE=1 install
Expand Down

0 comments on commit e83cf01

Please sign in to comment.