GNOME Bugzilla – Bug 611935
Needs to explicitly link against X11 when needed
Last modified: 2010-03-20 18:10:01 UTC
Created attachment 155351 [details] [review] Explicitly link against X11 when needed when using --no-undefined we need to explicitly link against X11 for XkbGetKeyboard and friends. Attached patch does this if the X11 development files are available. This should be o.k. since platforms using X11 for GDK have it installed since it's listed as a pkg-config dependency. It should also fix building with binutils-gold.
Thanks, applied in this commit commit f18f59cf0e1e162f2e7d6011396b0e875e144365 Author: Guido Günther <agx@sigxcpu.org> Date: Sat Mar 20 18:04:29 2010 +0000 Explicitly link against X11 libs for XkbGetKeyboard When building with --no-undefined and modern linkers, X11 won't be found implicitly. Therefore it is neccessary to link directly to X11 * configure.ac: Use pkgconfig to check for X11 libs * src/Makefile.am: Link against X11