(svn r9041) -Fix [FS#650]: pkg-config doesn't know --prefix, but wants --variable=prefix (nicely spotted and fixed by stepancheg)
This commit is contained in:
@@ -808,7 +808,7 @@ make_cflags_and_ldflags() {
|
|||||||
|
|
||||||
if [ "$enable_static" != "0" ]; then
|
if [ "$enable_static" != "0" ]; then
|
||||||
if [ "$os" = "OSX" ]; then
|
if [ "$os" = "OSX" ]; then
|
||||||
LIBS="$LIBS `$fontconfig_config --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' ' '`"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user