On Tue, Sep 19, 2006 at 10:11:36AM +0200, Kent Boortz wrote:
> 
> Albert Chin <[EMAIL PROTECTED]> writes:
> <snip>
> > So, in both cases, libz is not on the command-line used to create the
> > shared library.
> 
> Yes, what I meant was that I took the "cc...." line libtool expand to,
> inserted "-lmysqlclient" and tried link it manually. and it worked.
> Making me beleive it is a libtool problem.

Well, I suppose you could argue libtool should exit(1) rather than
stripping libraries from the command-line in this case.

> Looking inside the "libtool" command and Googling a bit more, I found
> an ugly way around this. After generating the "configure" script, I
> change it to say
> 
>   hpux10.20* | hpux11*)
>     lt_cv_deplibs_check_method=pass_all
> 
> This makes it let "-lmysqlclient" pass on, I found no way to force
> this using any command line flag.

Correct. Some systems like AIX and Tru64 UNIX generate PIC for all
object files.

-- 
albert chin ([EMAIL PROTECTED])


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to