summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-03-06 22:15:57 +0000
committertruelight <truelight@openttd.org>2007-03-06 22:15:57 +0000
commit524b60226d679ccc754922ac11e3f870de6cc627 (patch)
tree10d30da0efe01d505c74fea125d8c8d622f92626
parentf61f1962c5e3422e56d0b1a03038d8ec27ade93a (diff)
downloadopenttd-524b60226d679ccc754922ac11e3f870de6cc627.tar.xz
(svn r9041) -Fix [FS#650]: pkg-config doesn't know --prefix, but wants --variable=prefix (nicely spotted and fixed by stepancheg)
-rw-r--r--config.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.lib b/config.lib
index ee4c1ffe5..c38f4af67 100644
--- a/config.lib
+++ b/config.lib
@@ -808,7 +808,7 @@ make_cflags_and_ldflags() {
if [ "$enable_static" != "0" ]; then
if [ "$os" = "OSX" ]; then
- LIBS="$LIBS `$fontconfig_config --prefix`/lib/libfontconfig.a"
+ LIBS="$LIBS `$fontconfig_config --variable=prefix`/lib/libfontconfig.a"
else
LIBS="$LIBS `$fontconfig_config --libs --static | tr '\n\r' ' '`"
fi