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

Pavel Fedin p.fedin at samsung.com
Mon Apr 27 14:40:28 UTC 2015


> Thirdly, I wonder why you needed to add this, is gnulib really needed?
> is that because of those strdup()s in the file?  Why doesn't it fail
> with gcc then?
> Fourthly (is that even a word?), I'd ACK this and push it, but just
> please let me know whether GNULIB_LIBS is really needed here, so I know
> if I need to amend this or not.

 Yes, it is. Without GNULIB i get "undefined symbol" on... rtl_something...
Sorry, don't remember, but this clearly belongs to gnulib.
On Linux .so module can contain undefined symbols, which will be picked up
from surrounding binaries; on Windows it cannot. Hence this little problem.

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

More information about the libvir-list mailing list