aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorFneufneu <fneufneu@xbmc.org>2011-02-01 11:32:54 +0100
committerFneufneu <fneufneu@xbmc.org>2012-05-07 09:33:50 +0200
commitbc64f122578c8a5b6c036822f7708429bb2b1d1b (patch)
treef26050e3a7718e5257162d01aec8ad753808d59b /configure.in
parent2ca3ecfec4afbcdde50ae351b8c4e284c17ed44b (diff)
move CFLAGS and CXXFLAGS in right place
add CPPFLAGS and LDFLAGS to make user life easier
Diffstat (limited to 'configure.in')
-rwxr-xr-xconfigure.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 8d2b43695d..bb4374fdcc 100755
--- a/configure.in
+++ b/configure.in
@@ -570,6 +570,12 @@ fi
# platform specific flags
+if echo "$ARCH" | grep -q "freebsd" ; then
+ CFLAGS="$CFLAGS -I/usr/local/include"
+ CXXFLAGS="$CXXFLAGS -I/usr/local/include"
+ CPPFLAGS="$CPPFLAGS -I/usr/local/include"
+ LDFLAGS="$LDFLAGS -L/usr/local/lib"
+fi
if test "$host_vendor" = "apple" ; then
# standard xbmc paths
INCLUDES="$INCLUDES -I\$(abs_top_srcdir)/xbmc/osx"