summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/libo_externals.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/m4/libo_externals.m4 b/m4/libo_externals.m4
index 329abc7f2fd9..c17292d93f49 100644
--- a/m4/libo_externals.m4
+++ b/m4/libo_externals.m4
@@ -16,6 +16,7 @@ if test "$with_system_$1" = "yes"; then
AC_MSG_RESULT([external])
SYSTEM_$2=YES
PKG_CHECK_MODULES([$2], [$3])
+ $2_CFLAGS=$(printf '%s' "${$2_CFLAGS}" | sed -e "s/-I/${ISYSTEM?}/g")
else
AC_MSG_RESULT([internal])
SYSTEM_$2=NO