It seems that we are asking cmake not to add RPATH by the normal cmake mechanisms, and then passing in LDFLAGS with -Wl,-R/usr/pkg/lib. I am not sure but this seems to clash with cmake's scheme for having tests use in-tree libs. So I have a tentative belief that we should stop trying to pass -R let cmake do what it wants with RPATH Could anyone who understands or feels responsible for cmake comment on that?
Attachment:
signature.asc
Description: PGP signature