From sbrabec at suse.cz Wed Nov 23 18:35:59 2011 From: sbrabec at suse.cz (Stanislav Brabec) Date: Wed, 23 Nov 2011 19:35:59 +0100 Subject: [PATCH] fix linking with glib Message-ID: <1322073359.5084.7.camel@oct.suse.cz> nspluginwrapper explicitly uses gthread API but does not explicitly request gthread library. It works with the latest GTK+ GLib, but does noz work with older versions, where gthread is not included implicitly. --- a/nspluginwrapper/configure +++ b/nspluginwrapper/configure @@ -499,8 +499,8 @@ fi # check for Glib 2.0 compile CFLAGS if $pkgconfig --exists glib-2.0; then - GLIB_CFLAGS=`$pkgconfig --cflags glib-2.0` - GLIB_LIBS=`$pkgconfig --libs glib-2.0` + GLIB_CFLAGS=`$pkgconfig --cflags glib-2.0 gthread-2.0` + GLIB_LIBS=`$pkgconfig --libs glib-2.0 gthread-2.0` GLIB_VERSION=`$pkgconfig --modversion glib-2.0` else echo "GLIB 2.0 environment not found" -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec at suse.cz Lihovarsk? 1060/12 tel: +49 911 7405384547 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/