Re: [libvirt] [PATCH] Explicitly link libvirt_net_rpc against SELINUX_LIBS

2013-09-14 Thread Guido Günther
On Fri, Sep 13, 2013 at 11:53:16AM -0600, Eric Blake wrote: > On 09/13/2013 11:02 AM, Guido Günther wrote: > > Since virnetsocket conditionally uses selinux we need to link against it > > otherwise the build fails with: > > > > CCLD libvirtd > > /usr/bin/ld: ../src/.libs/libvirt-lxc.so: undefi

[libvirt] [PATCH] Explicitly link libvirt_net_rpc against SELINUX_LIBS

2013-09-13 Thread Guido Günther
Since virnetsocket conditionally uses selinux we need to link against it otherwise the build fails with: CCLD libvirtd /usr/bin/ld: ../src/.libs/libvirt-lxc.so: undefined reference to symbol 'freecon' /lib/i386-linux-gnu/libselinux.so.1: error adding symbols: DSO missing from command line co

Re: [libvirt] [PATCH] Explicitly link libvirt_net_rpc against SELINUX_LIBS

2013-09-13 Thread Eric Blake
On 09/13/2013 11:02 AM, Guido Günther wrote: > Since virnetsocket conditionally uses selinux we need to link against it > otherwise the build fails with: > > CCLD libvirtd > /usr/bin/ld: ../src/.libs/libvirt-lxc.so: undefined reference to symbol > 'freecon' > /lib/i386-linux-gnu/libselinux.so