summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2013-07-31 18:09:21 +0000
committerplanetmaker <planetmaker@openttd.org>2013-07-31 18:09:21 +0000
commitb7441b3a77f68ee2e017d20454615f5a880e9e48 (patch)
tree3a58d372b6bcdf564210e33aa11e7e82c694ce31
parentef31b04ef03d382eaa4caa41f3710584c105bd15 (diff)
downloadopenttd-b7441b3a77f68ee2e017d20454615f5a880e9e48.tar.xz
(svn r25642) -Fix (r25638): Compilation with static ICU
-rw-r--r--config.lib4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.lib b/config.lib
index 1f0d4f504..a2f19113d 100644
--- a/config.lib
+++ b/config.lib
@@ -1718,9 +1718,9 @@ make_cflags_and_ldflags() {
# Some icu-configs have the 'feature' of not adding a space where others do add the space
if [ "$static_icu" != "0" ]; then
- LIBS="$LIBS `$icu_config --ldflags-searchpath` `$icu_config --ldflags-libsonly` `$icu_config --ldflags-layout | tr '\n\r' ' ' | sed s/licu/lsicu/g`"
+ LIBS="$LIBS `$icu_config --ldflags-searchpath` `($icu_config --ldflags-libsonly; $icu_config --ldflags-layout) | tr '\n\r' ' ' | sed s/licu/lsicu/g`"
else
- LIBS="$LIBS `$icu_config --ldflags-searchpath` `$icu_config --ldflags-libsonly` `$icu_config --ldflags-layout | tr '\n\r' ' '`"
+ LIBS="$LIBS `$icu_config --ldflags-searchpath` `($icu_config --ldflags-libsonly; $icu_config --ldflags-layout) | tr '\n\r' ' '`"
fi
fi