No need to link with -lglib
Status: Beta
Brought to you by:
kshevetskiy
Although glib's header files are still necessary at compile time -- because of the usage of g_atomic_*, there is need to link with the library. Such linking makes the library's presence a runtime requirement complicating dependencies.
A hackish way to prevent this linking is by adding GLIB_LIBS=-L/var/empty to configure's environment. But that should not be necessary.
If use of libsecret is enabled, -lsecret may drag in -lglib-2.0 on its own.
Make that there is no need... Sorry...