michai@main:/tmp/ftest/f$ pkg-config --libs-only-L libssl -L/usr/pkg/lib That matches a netbsd-5 system I have. I'd say that the .pc file from pkgsrc ssl is wrong and should also have -R. However, in my opinion using --libs-only-L is wrong, without also using --libs-only-other. As an example, look at atk, which has -L and -Wl,-R in L and other: $ pkg-config atk --libs-only-other -Wl,-R/usr/pkg/lib
Attachment:
pgpFO4gtx4Mxu.pgp
Description: PGP signature