Update CFLAGS and LDFLAGS for FreeBSD builds
[fio.git] / configure
index c7a7c0ae3fd07b09c765cda2b83fa04e79c489ea..d71387c07d10505a4073ad0047ba66a1808e89c2 100755 (executable)
--- 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.