diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-31 16:45:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-31 16:45:16 +0100 |
commit | d12ee3457fd1a8bf18ede06882314fc1df30bd4b (patch) | |
tree | 33d42f682bfdfdf5fc26dd6bdd779853b8441ca0 /net-libs/libquotient/files/libquotient-0.8.0-no-android.patch | |
parent | 53aea9d709c9286028405b25584181507f47442f (diff) |
gentoo auto-resync : 31:07:2023 - 16:45:16
Diffstat (limited to 'net-libs/libquotient/files/libquotient-0.8.0-no-android.patch')
-rw-r--r-- | net-libs/libquotient/files/libquotient-0.8.0-no-android.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/net-libs/libquotient/files/libquotient-0.8.0-no-android.patch b/net-libs/libquotient/files/libquotient-0.8.0-no-android.patch new file mode 100644 index 000000000000..5b2e34123226 --- /dev/null +++ b/net-libs/libquotient/files/libquotient-0.8.0-no-android.patch @@ -0,0 +1,29 @@ +From ad928b9f34f5e6f42c8555a0a502c35de6cb86b5 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <asturm@gentoo.org> +Date: Sun, 3 Jan 2021 15:18:01 +0100 +Subject: [PATCH 1/2] Install EXPORT_ANDROID_MK only if(ANDROID) + +Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> +--- + CMakeLists.txt | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 0a32ee4e..7e03085f 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -387,7 +387,10 @@ install(FILES + "${CMAKE_CURRENT_BINARY_DIR}/${QUOTIENT_LIB_NAME}/${QUOTIENT_LIB_NAME}ConfigVersion.cmake" + DESTINATION ${CMakeFilesLocation} + ) +-install(EXPORT_ANDROID_MK ${QUOTIENT_LIB_NAME}Targets DESTINATION ${CMAKE_INSTALL_DATADIR}/ndk-modules) ++ ++if (ANDROID) ++ install(EXPORT_ANDROID_MK ${QUOTIENT_LIB_NAME}Targets DESTINATION ${CMAKE_INSTALL_DATADIR}/ndk-modules) ++endif () + + if (WIN32) + install(FILES mime/packages/freedesktop.org.xml DESTINATION mime/packages) +-- +2.41.0 + |