changeset 6238:8719383cbf0d draft

(svn r9041) -Fix [FS#650]: pkg-config doesn't know --prefix, but wants --variable=prefix (nicely spotted and fixed by stepancheg)
author truelight <truelight@openttd.org>
date Tue, 06 Mar 2007 22:15:57 +0000
parents c22a231a277a
children e1da44372e24
files config.lib
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/config.lib
+++ b/config.lib
@@ -808,7 +808,7 @@
 
 		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