summaryrefslogtreecommitdiff
path: root/m4/libo_externals.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/libo_externals.m4')
-rw-r--r--m4/libo_externals.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/m4/libo_externals.m4 b/m4/libo_externals.m4
index 3fe9fce18648..f755358bb395 100644
--- a/m4/libo_externals.m4
+++ b/m4/libo_externals.m4
@@ -17,6 +17,8 @@ if test "$with_system_$1" = "yes"; then
SYSTEM_$2=TRUE
PKG_CHECK_MODULES([$2], [$3])
$2_CFLAGS=$(printf '%s' "${$2_CFLAGS}" | sed -e "s/-I/${ISYSTEM?}/g")
+ FilterLibs "${$2_LIBS}"
+ $2_LIBS="$filteredlibs"
else
AC_MSG_RESULT([internal])
SYSTEM_$2=