Skip to content

Commit

Permalink
Fix linker flags of Qt plugins (and other modules) when building with…
Browse files Browse the repository at this point in the history
… android-cmake
  • Loading branch information
Martchus committed Jan 11, 2025
1 parent d4fd94f commit ae72d44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/android/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pkgname=android-cmake
pkgver=1
pkgrel=3
pkgrel=4
arch=('any')
pkgdesc="CMake wrapper for Android"
depends=('cmake'
Expand Down
1 change: 1 addition & 0 deletions cmake/android/android-cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ PATH="${ANDROID_PREFIX_BIN}:$PATH" cmake \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_EXE_LINKER_FLAGS="${LDFLAGS}" \
-DCMAKE_SHARED_LINKER_FLAGS="${LDFLAGS}" \
-DCMAKE_MODULE_LINKER_FLAGS="${LDFLAGS}" \
"$@"

0 comments on commit ae72d44

Please sign in to comment.