Re: adding libraries to php4?

From: Date: Tue, 13 Jun 2000 19:07:04 +0000
Subject: Re: adding libraries to php4?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-21237@lists.php.net to get a copy of this message
On 13 Jun 2000 jcc@nbcs.rutgers.edu wrote: > I've got a library or two that I'd like to link with php4 for one of > my machines. It's a Sparc Ultra 2 that runs Solaris 7 and apache > v1.3.3. > > Since this is Solaris I need to add -l, -L, and -R switches for ld. > When I built php v3.0.14, I was able to do this by directly hacking > the Makefile. Now that I'm trying to build php4 I'm not sure where > (or how) to make these kinds of changes. > > My question is: Which file(s) I should edit to change the > APXS_LDFLAGS? If there is some other (better) way to add libraries > and related ld switches, I'd like to know. Use something like that: $ LIBS=-lfoo LDFLAGS=-L/bar/baz ./configure --with-apxs - Sascha

« previous php.dev (#21237) next »