mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 17:56:17 +01:00
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:
parent
94e13c71c5
commit
9f69534030
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user