Hi, Nick,

Zitiere Nick Ing-Simmons <[EMAIL PROTECTED]>:

> As far as I know MakeMaker is right to reject -llibbar.a as most
> linkers
> would as well. e.g. GNU ld you specify this by adding -Bstatic before 
> -lbar. (And you normally get the -Bstatic in the list with -Wl,-Bstatic
> 
> to gcc.) But sadly MakeMaker also throws out those arguments as well.
> 
> I have resorted to override in Makefile.PL that puts the -Wl,-Bstatic 
> back in. 

assuming I have two libraries, say libz and libmysqlclient. I want
the former to be dynamic (if possible) and the latter to be static.
Does that mean I have to specify

    -lz -Bstatic -lmysqlclient


Regards,

Jochen

Reply via email to