Re: [libvirt] [PATCH 2/2] libvirtd: Remove indirect linking

2011-03-09 Thread Daniel P. Berrange
On Tue, Mar 08, 2011 at 10:19:16PM +0100, Guido Günther wrote: On Tue, Mar 08, 2011 at 06:57:02PM +, Daniel P. Berrange wrote: [..snip..] -libvirtd_LDADD += ../src/libvirt.la +if WITH_SECDRIVER_SELINUX +libvirtd_LDADD += $(SELINUX_LIBS) +endif +if WITH_SECDRIVER_APPARMOR

Re: [libvirt] [PATCH 2/2] libvirtd: Remove indirect linking

2011-03-09 Thread Guido Günther
On Wed, Mar 09, 2011 at 12:03:37PM +, Daniel P. Berrange wrote: [..snip..] libvirt_driver_lxc_la_SOURCES = $(LXC_DRIVER_SOURCES) @@ -870,6 +878,12 @@ libvirt_driver_storage_la_CFLAGS = \ -I@top_srcdir@/src/conf $(AM_CFLAGS) libvirt_driver_storage_la_LDFLAGS =

[libvirt] [PATCH 2/2] libvirtd: Remove indirect linking

2011-03-08 Thread Guido Günther
as described at http://wiki.debian.org/ToolChain/DSOLinking https://fedoraproject.org/wiki/UnderstandingDSOLinkChange otherwise the build fails on current Debian unstable with: CCLD libvirtd /usr/bin/ld: ../src/.libs/libvirt_driver_lxc.a(libvirt_driver_lxc_la-lxc_container.o): undefined

Re: [libvirt] [PATCH 2/2] libvirtd: Remove indirect linking

2011-03-08 Thread Daniel P. Berrange
On Tue, Mar 08, 2011 at 07:36:21PM +0100, Guido Günther wrote: as described at http://wiki.debian.org/ToolChain/DSOLinking https://fedoraproject.org/wiki/UnderstandingDSOLinkChange otherwise the build fails on current Debian unstable with: CCLD libvirtd /usr/bin/ld:

Re: [libvirt] [PATCH 2/2] libvirtd: Remove indirect linking

2011-03-08 Thread Guido Günther
On Tue, Mar 08, 2011 at 06:57:02PM +, Daniel P. Berrange wrote: [..snip..] -libvirtd_LDADD += ../src/libvirt.la +if WITH_SECDRIVER_SELINUX +libvirtd_LDADD += $(SELINUX_LIBS) +endif +if WITH_SECDRIVER_APPARMOR +libvirtd_LDADD += $(APPARMOR_LIBS) +endif +