-
Simon Marlow authored
Instead of grabbing the handle to the executable by calling dlopen(NULL,...), use RTLD_DEFAULT as the handle to lookup symbols if it is available. It seems that RTLD_DEFAULT may be required on certain systems, although I'm not sure it is available everywhere, so I've left the old code as fallback in case it isn't available.
9858bd46