GNOME Bugzilla – Bug 645255
Fails to build because of missing -lX11
Last modified: 2011-03-27 08:58:50 UTC
The culprit is this code in configure.ac: gdktarget=`$PKG_CONFIG --variable=target gdk-3.0` AS_IF([test "X$gdktarget" = "Xx11"], The variable is now named “targets”, and can take several values, so this requires a grep to fix.
We've added a GTK_CHECK_BACKEND() macro to avoid manual checks like this.
Created attachment 184310 [details] [review] build: Use GTK_CHECK_BACKEND macro Instead of calling pkg-config ourselves. This fixes linker issues caused by the renamed target variable in gtk+'s pkg-config file.
Attachment 184310 [details] pushed as 6b645fa - build: Use GTK_CHECK_BACKEND macro