summarylogtreecommitdiffstats
path: root/0001-Fix-clang-build.patch
diff options
context:
space:
mode:
authorGonzalo Exequiel Pedone2019-04-06 01:13:52 -0300
committerGonzalo Exequiel Pedone2019-04-06 01:13:52 -0300
commit463a8d001a5d4d37aa086375db67c0f957bff5df (patch)
tree941dbf6ca5ad549f101e3960bd77766aee31bacc /0001-Fix-clang-build.patch
parent95903713fa126b654b43df2ee6221c1531c05494 (diff)
downloadaur-463a8d001a5d4d37aa086375db67c0f957bff5df.tar.gz
Fixed pkg-config support.
Diffstat (limited to '0001-Fix-clang-build.patch')
-rw-r--r--0001-Fix-clang-build.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/0001-Fix-clang-build.patch b/0001-Fix-clang-build.patch
index 72f52ac0056..4c243137015 100644
--- a/0001-Fix-clang-build.patch
+++ b/0001-Fix-clang-build.patch
@@ -14,3 +14,11 @@
+ -isystem $$NDK_ROOT/sysroot/usr/include
ANDROID_SOURCES_CXX_STL_LIBDIR = $$NDK_ROOT/sources/cxx-stl/llvm-libc++/libs/$$ANDROID_TARGET_ARCH
+
+@@ -54,3 +54,6 @@
+ QMAKE_CFLAGS_OPTIMIZE_SIZE = -Oz
+
+ include(../common/android-base-tail.conf)
++
++QMAKE_PKG_CONFIG = $$[QT_INSTALL_PREFIX]
++QMAKE_PKG_CONFIG = android-$$section(QMAKE_PKG_CONFIG, /, 3, 3)-pkg-config