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
This commit is contained in:
parent
01ea5d53fc
commit
f54e87f226
|
@ -29,6 +29,7 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|||
-DMSGFMT_EXECUTABLE=$(command -v msgfmt)
|
||||
-DMSGMERGE_EXECUTABLE=$(command -v msgmerge)
|
||||
-DXGETTEXT_EXECUTABLE=$(command -v xgettext)
|
||||
-DLIBGCRYPT_CONFIG_EXECUTABLE=$TERMUX_PREFIX/bin/libgcrypt-config
|
||||
"
|
||||
|
||||
termux_step_pre_configure() {
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
--- 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)
|
Loading…
Reference in New Issue