]> xenbits.xensource.com Git - libvirt.git/commit
internal: don't use weak symbols for Win32 platform
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 11 Jul 2017 14:24:06 +0000 (15:24 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 11 Jul 2017 14:26:54 +0000 (15:26 +0100)
commitb9473d8b11d79c8990dcbba13bbf7d4051288a1e
treedba1bf227c53bbe81677e2114a3923ca11a2cc06
parentc8fb3c31594481f54d384eb12fe81b0e6f50dcce
internal: don't use weak symbols for Win32 platform

The Win32 platform will fail to link if you use weak symbols
because it is incompatible with exporting symbols in a DLL:

Cannot export virRandomGenerateWWN: symbol wrong type (2 vs 3)

We only need weak symbols for our test suite to do LD_PRELOAD
and this doesn't work on Win32, so we can just drop the hack
for Win32

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/internal.h