[libvirt] [PATCH] Add missing linker flags for MinGW build

Pavel Fedin p.fedin at samsung.com
Tue Apr 28 07:11:18 UTC 2015


> If it works, feel free to close the BZ or reply if it doesn't.

 I have checked. For some reason, $(virnetserverclientmock_la_LDADDS) does
not take part anywhere. Here are generated rules:
--- cut ---
virnetserverclientmock_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
	$(virnetserverclientmock_la_CFLAGS) $(CFLAGS) \
	$(virnetserverclientmock_la_LDFLAGS) $(LDFLAGS) -o $@
--- cut ---
virnetserverclientmock.la: $(virnetserverclientmock_la_OBJECTS)
$(am_virnetserverclientmock_la_rpath) $(virnetserverclientmock_la_OBJECTS)
$(virnetserverclientmock_la_LIBADD) $(LIBS)
--- cut ---

 I have looked through Makefile.am, xxx_LDADD seems to be used only for
executables, and not for shared libraries.

Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia

More information about the libvir-list mailing list