Hm, well:
-
-Ldir
:
Add directory dir to the list of directories to be searched for `-l'.
-
-llibrary
:
Search the library named library when linking.
So, the linking problem we fixed here is that on Solaris we need to
include the /etc/libdl.so
library to give us the API for
the runtime linker, and adding the above -L/etc/lib -ldl
switches make that happen.