Hi Tim,

* Tim Rice wrote on Tue, Sep 27, 2005 at 07:56:31PM CEST:
> On Tue, 27 Sep 2005, Howard Chu wrote:
> 
> > First of all, my objective - other folks may have their own objectives
> > different than this: Build a suite of software that uses shared libraries,
> > such that any embedded runpaths only reflect the ultimate install path (e.g.
> > /opt/foo/lib) and not any of the build paths (e.g. ~/src/project1/blah).
> 
> I'd like to be able have the embedded runpath be /opt/lib even
> if I install in /opt/foo/lib. (the package posinstall script would put
> symbolic links in /opt/lib)

I believe that should be possible now, although in a bit weird way:
  configure --prefix=/opt --enable-fast-install [OPTIONS]
  make
  make install DESTDIR=/tmp
  $mkdir_p /opt/foo
  mv /tmp/opt/* /opt/foo
  # create symlinks ..
  ./libtool --mode=finish /opt/lib
(surely you can also use some other path below /opt as DESTDIR to avoid
another copy if /tmp is on another mount point).

Did I miss anything?

Cheers,
Ralf


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to