diff options
-rw-r--r-- | configure.in | 6 | ||||
-rw-r--r-- | weechat/configure.in | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/configure.in b/configure.in index bf63f39f0..d2851dbe1 100644 --- a/configure.in +++ b/configure.in @@ -317,6 +317,12 @@ freebsd*) if test "x$enable_perl" = "xyes" -o "x$enable_python" = "xyes" ; then CFLAGS="$CFLAGS -pthread" fi + CFLAGS="$CFLAGS -I/usr/local/include" + LDFLAGS="$LDFLAGS -L/usr/local/lib" + ;; +openbsd*) + CFLAGS="$CFLAGS -I/usr/local/include" + LDFLAGS="$LDFLAGS -L/usr/local/lib" ;; *) ;; diff --git a/weechat/configure.in b/weechat/configure.in index bf63f39f0..d2851dbe1 100644 --- a/weechat/configure.in +++ b/weechat/configure.in @@ -317,6 +317,12 @@ freebsd*) if test "x$enable_perl" = "xyes" -o "x$enable_python" = "xyes" ; then CFLAGS="$CFLAGS -pthread" fi + CFLAGS="$CFLAGS -I/usr/local/include" + LDFLAGS="$LDFLAGS -L/usr/local/lib" + ;; +openbsd*) + CFLAGS="$CFLAGS -I/usr/local/include" + LDFLAGS="$LDFLAGS -L/usr/local/lib" ;; *) ;; |