]> git.ipfire.org Git - thirdparty/libvirt.git/commit
driver: conditionalize use of dlopen functions & use mingw-dlfcn
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 2 Aug 2017 10:21:12 +0000 (11:21 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 2 Aug 2017 12:51:28 +0000 (13:51 +0100)
commit8b9d017de38ba9ed711d24ed82aeff81a1851db6
treef07f14c6cfea98935b038f6560856f824a5c8c6d
parent376cfc2a81e7be9d855cf4abf6fa4c89ce10764e
driver: conditionalize use of dlopen functions & use mingw-dlfcn

Not every platform is guaranteed to have dlopen/dlsym, so we should
conditionalize its use. Suprisingly it is actually present for Win32
via the mingw-dlfcn add on, but we should still conditionalize it.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
mingw-libvirt.spec.in
src/driver.c