From f22dd97a5a1342c7dcb84f777a77bd30859cc35b Mon Sep 17 00:00:00 2001 From: Rebecca Cran Date: Mon, 6 May 2019 16:12:41 -0600 Subject: [PATCH] Update CFLAGS and LDFLAGS for FreeBSD builds FreeBSD installs third-party headers into /usr/local/include and libraries into /usr/local/lib. Update CFLAGS and LDFLAGS to look there. Signed-off-by: Jens Axboe --- configure | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure b/configure index c7a7c0ae..d71387c0 100755 --- a/configure +++ b/configure @@ -307,6 +307,10 @@ AIX|OpenBSD|NetBSD) force_no_lex_o="yes" fi ;; +FreeBSD) + CFLAGS="$CFLAGS -I/usr/local/include" + LDFLAGS="$LDFLAGS -L/usr/local/lib" + ;; Darwin) # on Leopard most of the system is 32-bit, so we have to ask the kernel if # we can run 64-bit userspace code. -- 2.25.1