|
From: | John Calcote |
Subject: | Re: build configuration help |
Date: | Thu, 03 Apr 2008 10:02:31 -0600 |
User-agent: | Thunderbird 2.0.0.12 (Windows/20080213) |
Andreas, Andreas Schwab wrote:
Thanks! You've cleared up a question I've had for years on the meaning of $ORIGIN.John Calcote <address@hidden> writes:The way you implement this is to use $(prefix)/lib, or $(libdir) in your -R option, which will resolve to the configured library installation directory - /home/bob/foo/lib. When you use -R like this, however, just realize that this binary can only be installed on this one non-standard location (it can still be installed in standard locations).You can use -R '$ORIGIN/../lib' to make the binary relocatable.
John
[Prev in Thread] | Current Thread | [Next in Thread] |