Static library broken when systemtap or dtrace enabled
Submitted by Nicolas Dufresne
When systemtap or dtrace is enabled, static link with the library fails with missing error symbols (e.g. undefined reference to `glib_mem__alloc_semaphore' and others). I have tested this on 2.28, 2.30, 2.32 and head master, they all have this issue.