commit | 47d338c6d3ee61f95307eb1771aa041e0a04ef1a | [log] [tgz] |
---|---|---|
author | Jakub Adam <jakub.adam@ktknet.cz> | Fri Jul 26 18:49:49 2019 +0200 |
committer | Michael Tüxen <tuexen@fh-muenster.de> | Fri Jul 26 12:49:49 2019 -0400 |
tree | d5d49952a593f271d0e0681f08d887f2c8ea8235 | |
parent | 2a5aff3baab0711ef8930adfee3d1aeb1a16f79a [diff] |
Fix shared library build for Windows with MSVC and Meson (#328) usrsctp-1.dll built with Meson didn't export any symbols. Meson needs a .def file listing the names of functions to export when creating a shared library on Windows. This patch generates usrsctp.def automatically at build time from the output of "dumpbin /linkermember" run on the static version of usrsctp lib. Kudos to Lennart Grahl for help with fixing broken static build.