Emilio G. Cota <1885...@bugs.launchpad.net> writes:
> You should then find out why libqemu_plugin.dll.a is not working. It is
> possible though that your linked is calling the import library something
> else, for instance adding a .dll extension to it.
>
> You will have to run a few tests with y
hello Emilio,
Thanks for looking at this issue. After adding -DBUILDING_DLL to
QEMU_CFLAGS, I still got linking error as follows, and it seems $LDLIB is empty:
x86_64-w64-mingw32-gcc -shared -Wl,-soname,libbb.so -o libbb.so bb.o
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.1.0/../..
Xiaolei <1885...@bugs.launchpad.net> writes:
> If I keep "-Wl,-soname,$@" in the command , I got similar linking errors.
>
> makefile:
> SONAMES := $(addsuffix .dll,$(addprefix lib,$(NAMES)))
>
> QEMU_CFLAGS += -fPIC -fno-stack-protector -DBUILDING_DLL
> QEMU_CFLAGS += -I$(SRC_PATH)/include/q