tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cmake radical proposal



On Sat, Oct 16, 2021 at 11:11:37AM -0400, Greg Troxel wrote:
> There is a bug in cmake, or perhaps in geos's CMakeFiles, where in the
> build tree one gets RPATH set to
> 
>    /usr/pkg/lib:/path/to/build/dir/lib
> 
> instead of
> 
>    /path/to/build/dir/lib:/usr/pkg/lib
> 
> The point is that when running make test, the dependencies still need to
> be found (including the toolchain's libstdc++), but the libs that are
> part of the current package need to be the new, just built, bring tested
> version, not the previous installed version.

I don't think that cmake is doing a relinking step during installation
(like e.g. libtool). So having /path/to/build/dir in the rpath at all
seems wrong to me.
 Thomas


Home | Main Index | Thread Index | Old Index