glib/gmodule-no-export-2.0.pc.in
Ryan Lortie 5d97ea2986 Bug 600141 - Add -pthread to gmodule pkg-config
It is not generally permissible to dlopen() libpthread into a program
that is not already linked with threading support.  The most common case
of this happening is when GIO opens Gvfs (which includes DBus, which
links against libpthread).

Since gmodule is the way that most users cause this problem for
themselves and since the easiest workaround is to link the program with
-pthread, the best fix for the issue is to add -pthread to the gmodule
pkg-config.
2009-11-17 20:41:48 -06:00

15 lines
323 B
PkgConfig

prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
gmodule_supported=@G_MODULE_SUPPORTED@
Name: GModule
Description: Dynamic module loader for GLib
Requires: glib-2.0
Version: @VERSION@
Libs: -L${libdir} -lgmodule-2.0 @G_THREAD_LIBS@
Libs.private: @G_MODULE_LIBS@
Cflags: @G_THREAD_CFLAGS@