diff options
-rw-r--r-- | configure.ac | 6 |
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 |