Kurt Starsinic <[EMAIL PROTECTED]> writes:
>On Mar 11, Jochen Wiedmann wrote:
>> Hi,
>> 
>>     LIBS="-L/usr(local/mysql/lib -Bstatic -lmysqlclient"
>> 
>> gives
>> 
>>     Unrecognized argument in LIBS ignored: '-Bstatic'
>> 
>> Is this actually not handled in MakeMaker?
>
>    That's right.  LIBS is specifically for -l and -L options (that is,
>libraries and library paths).  See ExtUtils::Liblist for the gory
>details.  You may want to set OTHERLDFLAGS to accomplish what you
>are looking for.

I don't think there is anything is standard MakeMaker which will generate 

     -Bstatic -lmysqlclient -Bdynamic -lz 

where two -l options are separated by a -Bxxxx flag.
IIRC OTHERLDFLAGS is too early if libaries I specified at that point 
on command line there are no references to resolve and nothing gets included.          
    


>
>    - Kurt
-- 
Nick Ing-Simmons
http://www.ni-s.u-net.com/

Reply via email to