Subject: Re: -Wl,-rpath on non-ELF systems
To: None <>
From: Thomas Klausner <>
List: tech-pkg
Date: 08/22/2002 19:46:46
On Thu, Aug 22, 2002 at 01:43:45PM -0400, Jan Schaumann wrote:
> Do I understand it correctly that the '-rpath' option only works on
> ELF-systems?  I found www/ap-php3 to only compile under Linux if I take
> this option out -- I would assume that there are other instances where
> this option might cause a build to fail.

IIRC, -rpath is only in newer ld(1)s. For compatibility with our a.out
platforms we mostly use -R.

> Is the attached patch the right thing to do in this instance?

Removing is most probably wrong. The run-time linker then will fail to
find some of the libraries.


Thomas Klausner -
Main Rule of Usenet:  Never argue with idiots.  They drag you down to
their level, then beat you with experience.