>use of the LIBRARY_PATH environment variable works, too

Yes, this turns the -L option obsolete.

Kenneth