tech-pkg archive

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

Re: python3.9-config and rpath



On Wed, Jul 06, 2022 at 10:41:43AM -0400, Greg Troxel wrote:
> I have crudely patched python3.9-config so that instead it prints:
> 
>   $ /usr/pkg/bin/python3.9-config --ldflags
>    -L/usr/pkg/lib -Wl,-R/usr/pkg/lib  -lcrypt -lintl -lpthread  -lutil -lm -lm 

This seems good since it'll Just Work when used outside pkgsrc. If we
take python-config to have the same guarantees as pkg-config, patching .pc
scripts to add RPATH is already standard practice for us.



Home | Main Index | Thread Index | Old Index