From a3fcdde7c52a27ce41a138076297e2f26381751d Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Wed, 4 Dec 2024 14:13:01 +0300 Subject: [PATCH] fix: gmp detection on FreeBSD --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index e60fca8fc..7cce32a8a 100644 --- a/configure.ac +++ b/configure.ac @@ -220,7 +220,11 @@ case $host in GMP_LDFLAGS="-L$gmp_prefix/lib" fi fi - ;; + ;; + *freebsd*) + GMP_CPPFLAGS="-I/usr/local/include" + GMP_LDFLAGS="-L/usr/local/lib" + ;; esac if test x"$want_backend" = x"auto"; then