summaryrefslogtreecommitdiff
path: root/config.lib
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-03-06 22:45:30 +0000
committertruelight <truelight@openttd.org>2007-03-06 22:45:30 +0000
commit94ddae188a0995ce03a690382fb717ef93bb76db (patch)
tree4d7f50beb559680d5d19fe95f8b307d9a4864d4a /config.lib
parent350a53760f0d58c32fbe55b91ff4faa4cab17aa6 (diff)
downloadopenttd-94ddae188a0995ce03a690382fb717ef93bb76db.tar.xz
(svn r9046) -Fix r9041: added a comment to make clear why we don't use --prefix here
Diffstat (limited to 'config.lib')
-rw-r--r--config.lib1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.lib b/config.lib
index c33d90db7..f30a22157 100644
--- a/config.lib
+++ b/config.lib
@@ -792,6 +792,7 @@ make_cflags_and_ldflags() {
if [ "$enable_static" != "0" ]; then
if [ "$os" = "OSX" ]; then
+ # fontconfig_config goes via pkg-config on all systems, which doesn't know --prefix
LIBS="$LIBS `$fontconfig_config --variable=prefix`/lib/libfontconfig.a"
else
LIBS="$LIBS `$fontconfig_config --libs --static | tr '\n\r' ' '`"