diff options
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d724a03..c622e95 100644 --- a/configure.ac +++ b/configure.ac @@ -52,6 +52,10 @@ m4_foreach_w([WARN], PKG_PROG_PKG_CONFIG() PKG_CHECK_MODULES([GTK], [gtk+-3.0]) PKG_CHECK_MODULES([WEBKIT2GTK], [webkit2gtk-4.0]) +GTK_CFLAGS="$(printf ' %s' "${GTK_CFLAGS}" | \ + sed 's/ -I/ -isystem/g;')" +WEBKIT2GTK_CFLAGS="$(printf ' %s' "${WEBKIT2GTK_CFLAGS}" | \ + sed 's/ -I/ -isystem/g;')" AC_CONFIG_FILES([Makefile]) AC_CONFIG_HEADERS([config.h]) |