mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
rpc: export xdr_virNetMessageError for virnetmessagetest on Win32
The Win32 symbol export file format can't do wildcards, so none of the 'xdr_*' symbols are exported from the libvirt DLL. This doesn't matter generally since the RPC client is built into the DLL and we don't build libvirtd on Win32. The virnetmessagetest, however, does require xdr_virNetMessageError to be exported, so just do a hack for that. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
f65e8a9527
commit
e5a1f1904d
@ -7,6 +7,12 @@
|
||||
|
||||
# Generated files
|
||||
xdr_*;
|
||||
# Hack only required for Win32 to make tests link properly,
|
||||
# as the wildcard above doesn't work there. Fortunately
|
||||
# Win32 builds don't require the other xdr_* syms exported.
|
||||
# since there's no libvirtd built.
|
||||
xdr_virNetMessageError;
|
||||
|
||||
|
||||
# rpc/virnetclient.h
|
||||
virNetClientAddProgram;
|
||||
|
Loading…
x
Reference in New Issue
Block a user