On Fri, Apr 21, 2006 at 03:47:29PM -0400, stan wrote:
> On Fri, Apr 21, 2006 at 11:25:02AM -0700, Mike Delaney wrote:
> > 
> > Yes, pass the -R/path/to/library flag to the linker at build time.  For
> > Solaris systems, every -L given to the linker should have a corresponding
> > -R.  libgcc_s.so.1 is a bit of a special case, since gcc is implicitly
> > linking that one in when needed.  Figure out where it lives and pass
> > the appropriate -R option via LDFLAGS when building.
> > 
> OK, should I manual add this to te Makefiles? Or is there a way to tell
> configure this? Perhaps an environment variable?

LDFLAGS is an environment variable:

        $ export LDFLAGS="-R/path/to/gcc/libraries"
        $ ./configure ....
        $ make

Reply via email to