mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-05 17:06: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
323 B
PkgConfig
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@
|