aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 053f8466..ba68c827 100644
--- a/configure.ac
+++ b/configure.ac
@@ -174,6 +174,10 @@ AS_IF([test x$with_libv4l != xyes], [AC_SUBST([ENFORCE_LIBV4L_STATIC], ["-static
# misc
-CPPFLAGS="-I\$(top_srcdir)/include -I\$(top_srcdir)/lib/include -Wall -Wpointer-arith -D_GNU_SOURCE $CPPFLAGS"
+if test "x$linux_os" = "xyes"; then
+ CPPFLAGS="-I\$(top_srcdir)/include $CPPFLAGS"
+fi
+
+CPPFLAGS="-I\$(top_srcdir)/lib/include -Wall -Wpointer-arith -D_GNU_SOURCE $CPPFLAGS"
AC_OUTPUT

Privacy Policy