Re: [PATCH 4/4] libselinux,libsemanage: link Python wrapper with Python

2016-11-15 Thread Stephen Smalley
On 11/14/2016 04:28 PM, Nicolas Iooss wrote: > When linking with -Wl,-no-undefined in LDFLAGS (in order to find > possible link-time errors), the Python wrapper module needs to be > linked with the right libpython.so. This library is found using > pkg-config in a new PYLIBS variable. > > Signed-of

[PATCH 4/4] libselinux,libsemanage: link Python wrapper with Python

2016-11-14 Thread Nicolas Iooss
When linking with -Wl,-no-undefined in LDFLAGS (in order to find possible link-time errors), the Python wrapper module needs to be linked with the right libpython.so. This library is found using pkg-config in a new PYLIBS variable. Signed-off-by: Nicolas Iooss --- libselinux/src/Makefile | 5 ++