Prevent an invalid @CARBON_LIBS@ from appearing in the .pc files

Fixes static linking when using the glib pkgconfig file.
Regression was introduced in commit 8d037c6 (bz #668152)

https://bugzilla.gnome.org/show_bug.cgi?id=731657
This commit is contained in:
Erik van Pienbroek 2014-06-14 17:10:17 +02:00 committed by Colin Walters
parent 94e13c71c5
commit 9f69534030

View File

@ -217,6 +217,8 @@ AS_IF([test "x$glib_have_carbon" = "xyes"], [
LDFLAGS="$LDFLAGS $CARBON_LIBS"
], [CARBON_LIBS=""])
AC_SUBST([CARBON_LIBS])
AS_IF([test "x$glib_have_cocoa" = "xyes"], [
AC_DEFINE(HAVE_COCOA, 1, [define to 1 if Cocoa is available])
COCOA_LIBS="-Wl,-framework,Foundation"