From df8f96423429915ef1648310fce8b5aed0917c0a Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 10 Aug 2010 01:24:30 +0200 Subject: build: Fudge the build system some more so it handles extra libs Add NONPKGCONFIG_EXTRA_LIBS that are only put into the generated pc file but not used when linking. This is now used to add -lcairo-gobject to the cairo-gobject.pc file. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 1ca411290..ce5afc191 100644 --- a/configure.ac +++ b/configure.ac @@ -658,7 +658,7 @@ CAIRO_ENABLE_FUNCTIONS(gobject, gobject, auto, [ gobject_REQUIRES="gobject-2.0 glib-2.0" PKG_CHECK_MODULES(GOBJECT, $gobject_REQUIRES, , [AC_MSG_RESULT(no) use_gobject="no (requires $gobject_REQUIRES http://download.gnome.org/pub/GNOME/sources/glib/)"]) - gobject_NONPKGCONFIG_LIBS="-L\%{libdir} -lcairo-gobject" + gobject_NONPKGCONFIG_EXTRA_LIBS="-L\%{libdir} -lcairo-gobject" ]) dnl =========================================================================== -- cgit v1.2.3