Re: Libtool problem with current build process

From: Date: Mon, 09 Jul 2001 22:23:48 +0000
Subject: Re: Libtool problem with current build process
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-59459@lists.php.net to get a copy of this message
On Mon, 9 Jul 2001, Jason Greene wrote:

> Sascha + Everyone,
>
> There is a current build problem with libtool where we pass
> -prefer-non-pic or -prefer-pic during mode=link.  Since this is
> not a valid mode=link option it gets passed to the linker as an
> option. On some platforms (Sun CC), this cuases an error and
> aborts. I started to take a look at making a fix, but the build
> system is quite large, and since I don't feel like breaking, I
> decided to just email my progress, and see what else should be
> accounted for.
>
> This tiny patch is part of some changes that I think should be
> made. This changes the standard_libtool_flag, which just gets
> added to CFLAGS, to using a compile_libtool_flag, and exporting
> it out so that all the other pieces of the system can use it.

    The main problem here is that we need to add the -prefer*pic
    options to CFLAGS, or otherwise it won't get used by the
    automake Makefiles.  I'd be happy to hear a solution for that
    which does not involve throwing out automake as I personally
    don't have the time for that currently.

    - Sascha                                     Experience IRCG
      http://schumann.cx/                http://schumann.cx/ircg



Thread (2 messages)

« previous php.dev (#59459) next »