1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-20 22:57:05 +00:00
termux-packages/packages/weechat/cmake-FindGCRYPT.cmake.patch
Tee KOBAYASHI f54e87f226 weechat: Fix build in some cross-build environment
Build system incorrectly picked up `libgcrypt-config` for build host.
Note that `*-config` script hack in `termux_step_configure_autotools`
does not apply when e.g. CMake or Meson is used as the build system.

%ci:no-build
2022-11-25 14:17:58 +00:00

11 lines
237 B
Diff

--- a/cmake/FindGCRYPT.cmake
+++ b/cmake/FindGCRYPT.cmake
@@ -27,7 +27,6 @@
# GCRYPT_LDFLAGS = ldflags to use to compile
#
-find_program(LIBGCRYPT_CONFIG_EXECUTABLE NAMES libgcrypt-config)
set(GCRYPT_LDFLAGS)
set(GCRYPT_CFLAGS)