GNOME Bugzilla – Bug 720072
portability: only link to -ldl if needed
Last modified: 2013-12-08 18:23:03 UTC
See patch.
Created attachment 263766 [details] [review] portability: only link to -ldl if needed We use -ldl in some of our testcases to mock out some system calls via interposing, using dlsym() to chain up. Make sure we only use this if we really need to. Many systems have dlsym() in the C library and no -ldl.
Review of attachment 263766 [details] [review]: Look good, and build/run tested on FreeBSD 10.
Attachment 263766 [details] pushed as c8603e6 - portability: only link to -ldl if needed Works on Linux too. Thanks for the review.