Re: [PHP4BETA] let's commit saschas libtool patches to CVS!
| From: | Sascha Schumann | Date: | Mon, 04 Oct 1999 15:59:56 +0000 |
| Subject: | Re: [PHP4BETA] let's commit saschas libtool patches to CVS! | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-5141@lists.php.net to get a copy of this message | ||
On Mon, Oct 04, 1999 at 05:54:11PM +0200, Stig Bakken wrote:
> On Mon, 4 Oct 1999, Sascha Schumann wrote:
>
> | > So we need to provide our own checks based on the canonical os name, and
> | > display a warning if we don't know how to do it on that os. Works for me.
> |
> | How do you pass the flags to the linker?
>
> Isn't that what the -R/-xrpath option to libtool does?
For programs, yes. For shared libraries, no.
`-R LIBDIR'
If OUTPUT-FILE is a program, add LIBDIR to its run-time path. If
OUTPUT-FILE is a library, add -RLIBDIR to its DEPENDENCY_LIBS, so
that, whenever the library is linked into a program, LIBDIR will
be added to its run-time path.
I think we can work around this with sed and munging libtool.
Ugh.
--
Regards,
Sascha Schumann
Consultant