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.
2 files changed
tree: d5d49952a593f271d0e0681f08d887f2c8ea8235
  1. programs/
  2. usrsctplib/
  3. .gitignore
  4. bootstrap
  5. CMakeLists.txt
  6. configure.ac
  7. gen-def.py
  8. LICENSE.md
  9. Makefile.am
  10. Makefile.nmake
  11. Manual.md
  12. Manual.tex
  13. meson.build
  14. meson_options.txt
  15. README.md
  16. usrsctp.pc.in
README.md

usrsctp

Coverity Scan Build Status

This is a userland SCTP stack supporting FreeBSD, Linux, Mac OS X and Windows.

See manual for more information.

The status of continuous integration testing is available from our Buildbot.