summaryrefslogtreecommitdiff
path: root/config.lib
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2013-07-30 22:03:36 +0000
committerplanetmaker <planetmaker@openttd.org>2013-07-30 22:03:36 +0000
commit19d393bda15e05397af4d31220538c3c891996c3 (patch)
treeaede3edff97dfd88148f4bd995499567f56898f3 /config.lib
parentca1c79214475c5d3acc0f69fb70b44347dc29b57 (diff)
downloadopenttd-19d393bda15e05397af4d31220538c3c891996c3.tar.xz
(svn r25638) -Fix (r25470): Some icu_config are too stupid to separate two ldflags by spaces, thus only call it with one
Diffstat (limited to 'config.lib')
-rw-r--r--config.lib4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.lib b/config.lib
index dec0dc3a7..1f0d4f504 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 --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 --ldflags-layout | tr '\n\r' ' '`"
+ LIBS="$LIBS `$icu_config --ldflags-searchpath` `$icu_config --ldflags-libsonly` `$icu_config --ldflags-layout | tr '\n\r' ' '`"
fi
fi