(svn r9046) -Fix r9041: added a comment to make clear why we don't use --prefix here
This commit is contained in:
		@@ -792,6 +792,7 @@ make_cflags_and_ldflags() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
		if [ "$enable_static" != "0" ]; then
 | 
							if [ "$enable_static" != "0" ]; then
 | 
				
			||||||
			if [ "$os" = "OSX" ]; 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"
 | 
									LIBS="$LIBS `$fontconfig_config --variable=prefix`/lib/libfontconfig.a"
 | 
				
			||||||
			else
 | 
								else
 | 
				
			||||||
				LIBS="$LIBS `$fontconfig_config --libs --static | tr '\n\r' '  '`"
 | 
									LIBS="$LIBS `$fontconfig_config --libs --static | tr '\n\r' '  '`"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user