]> xenbits.xensource.com Git - libvirt.git/commit
mingw: Fix symbol export
authorMatthias Bolte <matthias.bolte@googlemail.com>
Mon, 3 May 2010 10:21:58 +0000 (12:21 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Mon, 3 May 2010 20:05:04 +0000 (22:05 +0200)
commit38eb50ae763ef5341aab52ab350249f934ef2664
tree68c1bd5cdc76331ea4f20d15f3de660ae4c4fcc7
parent254ade373d29153d7e5fe579086f86e7010ab4d8
mingw: Fix symbol export

In commit 98fb83ce25f46e0236706fa6e0943032d921935f I changed the
version script handling. But it seems that I didn't test this properly
and broke it. The .def file is passed to the compiler directly, but it
should get passed to the linker instead.

Set VERSION_SCRIPT_FLAGS to -Wl, to pass the .def file correctly to
the linker.

This fixes the undefined symbol errors while linking virsh.
configure.ac