[libvirt] [PATCHv2 08/15] build: define SECDRIVER_LIBS in Makefile.am

Jim Fehlig jfehlig at suse.com
Thu Feb 14 03:28:27 UTC 2013


Laine Stump wrote:
> On 02/12/2013 07:24 PM, Eric Blake wrote:
>   
>> On 02/12/2013 01:15 PM, Laine Stump wrote:
>>     
>>> This makes it simpler to include the necessary system security driver
>>> libraries for a particular system. For this patch, several existing
>>> conditional sections from the Makfile were replaced; I'll later be
>>> adding SECDRIVER_LIBS to libvirt_util_la_LIBADD, because vircommand.c
>>> will be calling a function from $securitylib.
>>> ---
>>> Change from V1:
>>> * initialize SECDRIVER_LIBS to empty
>>> * allow both WITH_SECDRIVER_SELINUX and WITH_SECDRIVER_APPARMOR in the same build
>>>       
>> Do you have a handy pointer for how to get apparmor headers installed
>> for building with both libraries on Fedora?
>>     
>
> No idea. I just learned from Dan that it was at least theoretically
> possible, and am counting on debian/ubuntu people to actually test this
> bit, since I don't have any system that uses AppArmor.
>   

I verified this builds with both apparmor and selinux enabled.

Regards,
Jim




More information about the libvir-list mailing list