]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: fix virutil build on mingw
authorEric Blake <eblake@redhat.com>
Mon, 29 Jul 2013 14:04:35 +0000 (08:04 -0600)
committerEric Blake <eblake@redhat.com>
Mon, 29 Jul 2013 22:17:40 +0000 (16:17 -0600)
commitec15df4e85bf372efdccb14c781efc1f30be5bf4
tree7a7130c69cc0ab6d20dff73009ea53458dce3115
parentaa11d6888fa579cea7753706b76c82408ddf7144
build: fix virutil build on mingw

https://bugzilla.redhat.com/show_bug.cgi?id=964358

On platforms without decent group support, the build failed:

Cannot export virGetGroupList: symbol not defined
./.libs/libvirt_security_manager.a(libvirt_security_manager_la-security_dac.o): In function `virSecurityDACPreFork':
/home/eblake/libvirt-tmp/build/src/../../src/security/security_dac.c:248: undefined reference to `virGetGroupList'
collect2: error: ld returned 1 exit status

* src/util/virutil.c (virGetGroupList): Provide dummy implementation.

Signed-off-by: Eric Blake <eblake@redhat.com>
(cherry picked from commit cd725c7a9350c8331a6f915127cf7007706f9926)
src/util/virutil.c