[petsc-dev] DESTDIR

Jed Brown jed at 59a2.org
Fri Apr 23 11:31:23 CDT 2010


On Fri, 23 Apr 2010 11:27:45 -0500 (CDT), Satish Balay <balay at mcs.anl.gov> wrote:
> One Issue [which might be mac specific] with DESTDIR is: 'make
> install' does 'make shared' at the dest dir.
> 
> I'm assuming - one of the reasons for this is: .dylib on Macs hardcode
> some location info. If so - DESTDIR won't work on Mac [with
> sharedlibs?]. If not - there is no need to do 'make shared' during
> 'make install'? [Barry?]

This sounds like exactly the same issue as with RPATH.  If you have any
location-specific info in the libraries, then "make shared" should RPATH
the PREFIX despite installing to DESTDIR.  Apologies if this was obvious.

Jed



More information about the petsc-dev mailing list