]> xenbits.xensource.com Git - libvirt.git/commitdiff
build: more mingw fixes
authorEric Blake <eblake@redhat.com>
Fri, 15 Feb 2013 22:39:33 +0000 (15:39 -0700)
committerEric Blake <eblake@redhat.com>
Fri, 15 Feb 2013 22:45:52 +0000 (15:45 -0700)
More mingw build failures:

  CCLD     libvirt-lxc.la
/usr/lib64/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/ld: cannot find libvirt_lxc.def: No such file or directory

  CC       virportallocatortest-virportallocatortest.o
../../tests/virportallocatortest.c: In function 'main':
../../tests/virportallocatortest.c:195:1: error: implicit declaration of function 'setenv' [-Werror=implicit-function-declaration]

* src/Makefile.am (GENERATED_SYM_FILES): Also generate
libvirt_lxc.def.
* bootstrap.conf (gnulib_modules): Import setenv.

bootstrap.conf
src/Makefile.am

index 4b45a4f2feac1af1dfd3a3416c7af55e01ccd1f6..6e037572a17ca859cd1f2ab3f8560afc41c6135b 100644 (file)
@@ -92,6 +92,7 @@ regex
 random_r
 sched
 send
+setenv
 setsockopt
 sigaction
 sigpipe
index 0d2f2f8365fb6ccefcd06fdee5d2b697e984e40b..780cd5236d2801363f4728d09deeeba9604ce41b 100644 (file)
@@ -1462,7 +1462,8 @@ EXTRA_DIST += \
   libvirt_xenxs.syms   \
   libvirt_libssh2.syms
 
-GENERATED_SYM_FILES = libvirt.syms libvirt.def libvirt_qemu.def
+GENERATED_SYM_FILES = \
+       libvirt.syms libvirt.def libvirt_qemu.def libvirt_lxc.def
 
 BUILT_SOURCES += $(GENERATED_SYM_FILES)