GNOME Bugzilla – Bug 691944
superfluous libdl
Last modified: 2013-01-22 17:46:50 UTC
Created attachment 233665 [details] [review] remove -ldl / #include dlfcn.h libdl and dlfcn.h define dlopen() and friends. AFAICT they are not used anywhere in the cogl code - maybe a vestige from pre-gmodule days? I think it is worth removing references to them as e.g., cogl/Makefile.am if SUPPORT_GLX libcogl2_la_LIBADD += -ldl endif tries to link against libdl even on systems which have dlopen() in libc.
Thanks for the patch. I've pushed it to master and the 1.12 branch. We'll also be sure to backport it to the 1.14 branch.