summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.lib3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.lib b/config.lib
index 3cf59ba63..aab42f9f1 100644
--- a/config.lib
+++ b/config.lib
@@ -1366,7 +1366,8 @@ make_cflags_and_ldflags() {
CFLAGS="$CFLAGS -DWITH_ICU"
CFLAGS="$CFLAGS `$icu_config --cppflags | tr '\n\r' ' '`"
- LIBS="$LIBS `$icu_config --ldflags-searchpath --ldflags-libsonly | tr '\n\r' ' '`"
+ # Some icu-configs have the 'feature' of not adding a space where others do add the space
+ LIBS="$LIBS `$icu_config --ldflags-searchpath` `$icu_config --ldflags-libsonly | tr '\n\r' ' '`"
fi