buzz
buzz copied to clipboard
Search libraries in user-defined directories first
By rearranging the search path list, user-defined directories are searched first.
In addition, we pass "libX.so" (no slashes) to std.DynLib.open to reuse the system-defined load order. "SDL2" will load "/usr/lib/x86_64-linux-gnu/libSDL2.so" on a multi-arch system.