CMake issue: binary (needed during build) links againts /opt/local/lib/foo.dylib

Clemens Lang cal at macports.org
Sun Oct 9 14:41:59 PDT 2016


On Sat, Oct 08, 2016 at 04:10:34PM +0200, Mojca Miklavec wrote:
> >> The command "otool -L cfg" reports
> >>    @rpath/libMiKTeX209-core.1.dylib
> >
> > That looks correct, but really depends on what "cfg"'s rpath is.
> 
> "cfg" is a binary. I'm not sure whether it gets installed, but it
> does, then the path is definitely wrong.

The settings I gave you tell CMake to re-link the binary without an
rpath on 'make install', so if you ran this in the build tree (which I
assumed because you mentioned destroot was broken) it was correct.

-- 
Clemens Lang


More information about the macports-dev mailing list