summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in3
-rw-r--r--weechat/configure.in3
2 files changed, 2 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index 1ae03c7f6..2348bd2b1 100644
--- a/configure.in
+++ b/configure.in
@@ -32,8 +32,7 @@ AM_PROG_LIBTOOL
# Add some flags for some OS
case "$host_os" in
freebsd* | openbsd*)
- CFLAGS="$CFLAGS -I/usr/local/include"
- LFLAGS="$LFLAGS -L/usr/local/lib"
+ LDFLAGS="$LDFLAGS -L/usr/local/lib"
;;
*)
;;
diff --git a/weechat/configure.in b/weechat/configure.in
index 1ae03c7f6..2348bd2b1 100644
--- a/weechat/configure.in
+++ b/weechat/configure.in
@@ -32,8 +32,7 @@ AM_PROG_LIBTOOL
# Add some flags for some OS
case "$host_os" in
freebsd* | openbsd*)
- CFLAGS="$CFLAGS -I/usr/local/include"
- LFLAGS="$LFLAGS -L/usr/local/lib"
+ LDFLAGS="$LDFLAGS -L/usr/local/lib"
;;
*)
;;