Re: [PATCH] add --with-libdir flag (was Re: [PHP-DEV] ./configure, PHP, SuSE and the AMD64)
| From: | Joe Orton | Date: | Mon, 27 Sep 2004 19:49:34 +0000 |
| Subject: | Re: [PATCH] add --with-libdir flag (was Re: [PHP-DEV] ./configure, PHP, SuSE and the AMD64) | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-13027@lists.php.net to get a copy of this message | ||
On Mon, Sep 27, 2004 at 08:36:49PM +0200, Derick Rethans wrote:
> On Mon, 27 Sep 2004, Joe Orton wrote:
> > On Mon, Sep 27, 2004 at 10:13:04AM +0200, Derick Rethans wrote:
> > > I think this patch is the way to go for this, but it won't address
> > > issues when you mix both 64bit and 32bit libraries as this one simply
> > > requires you to have everything in either 32bit or 64bit. So we can't
> > > really commit it.
> >
> > I don't know what you mean by that. You can't link both 32-bit or 64-bit
> > libraries into one program, that doesn't work, of course.
>
> Ok, but having them in /lib and /lib32 at the same time does I guess.
> (though it still doesn't make sense to do so, and you can always symlink
> this).
Sure, you could put your libraries in /bar and headers in /foo and this
would confuse most of the library checks too. With an ideal configure
script you could just export CPPFLAGS=-I/foo LDFLAGS=-L/bar, and that
would work...
joe