Commit 3be81494 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Add /usr/local/... to CPPFLAGS and LDFLAGS automatically on FreeBSD (closes #422)

parent 61680796
......@@ -159,6 +159,14 @@ case "${target_os}" in
*bsd*)
SYS="${target_os}"
CFLAGS_save="${CFLAGS_save} -pthread"; CFLAGS="${CFLAGS_save}"
case "${target_os}" in
freebsd*)
CPPFLAGS_save="${CPPFLAGS_save} -I/usr/local/include"
CPPFLAGS="${CPPFLAGS}"
LDFLAGS_save="${LDFLAGS_save} -L/usr/local/lib"
LDFLAGS="${LDLFAGS_save}"
;;
esac
;;
darwin1.[0123])
dnl Mac OS X < 10.3
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment