Hi,
assuming I have to link against a library bar, which is located
in directory foo, it may well happen that the following files
exist:
foo/libbar.so
foo/libbar.a
If I use MakeMaker with
LIBS="-Lfoo -lbar"
this will of course work, but use the dynamic library. However,
in some situations I want to force use of the static library.
I would like to do this with either of
LIBS="foo/libbar.a"
LIBS="-Lfoo -llibbar.a"
or something similar, but everything fails, because MakeMaker
refuses the respective argument with "libbar.a" and removes it
from the option list.
Any suggestions?
Regards,
Jochen