Changeset - r6243:e85796bd5820
[Not reviewed]
master
0 1 0
truelight - 18 years ago 2007-03-06 22:45:30
truelight@openttd.org
(svn r9046) -Fix r9041: added a comment to make clear why we don't use --prefix here
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
config.lib
Show inline comments
 
@@ -789,12 +789,13 @@ make_cflags_and_ldflags() {
 
	if [ -n "$fontconfig_config" ]; then
 
		CFLAGS="$CFLAGS -DWITH_FONTCONFIG"
 
		CFLAGS="$CFLAGS `$fontconfig_config --cflags | tr '\n\r' '  '`"
 

	
 
		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' '  '`"
 
			fi
 
		else
 
			LIBS="$LIBS `$fontconfig_config --libs | tr '\n\r' '  '`"
0 comments (0 inline, 0 general)