Files
termux-packages/packages/weechat/cmake-FindGCRYPT.cmake.patch
termux-pacman-bot e403361e99 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:31:13 +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)