diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/libgnutls/use-gmp-pkgconfig.patch | |
Diffstat (limited to 'vcpkg/ports/libgnutls/use-gmp-pkgconfig.patch')
| -rw-r--r-- | vcpkg/ports/libgnutls/use-gmp-pkgconfig.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/ports/libgnutls/use-gmp-pkgconfig.patch b/vcpkg/ports/libgnutls/use-gmp-pkgconfig.patch new file mode 100644 index 0000000..60d2e71 --- /dev/null +++ b/vcpkg/ports/libgnutls/use-gmp-pkgconfig.patch @@ -0,0 +1,12 @@ +diff --git a/m4/hooks.m4 b/m4/hooks.m4 +index e026dd1..cf6064c 100644 +--- a/m4/hooks.m4 ++++ b/m4/hooks.m4 +@@ -91,6 +91,7 @@ AC_MSG_ERROR([[ + mini_nettle=$withval, + mini_nettle=no) + ++ PKG_CHECK_MODULES(GMP, [gmp], [], [AC_MSG_ERROR([[gmp is required]])]) + AC_ARG_VAR(GMP_CFLAGS, [C compiler flags for gmp]) + AC_ARG_VAR(GMP_LIBS, [linker flags for gmp]) + if test "$mini_nettle" != no;then |