mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-14 05:16:18 +01:00
5d97ea2986
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.
15 lines
342 B
PkgConfig
15 lines
342 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} @G_MODULE_LDFLAGS@ -lgmodule-2.0 @G_THREAD_LIBS@
|
|
Libs.private: @G_MODULE_LIBS@
|
|
Cflags: @G_THREAD_CFLAGS@
|