Ticket #233 (assigned enhancement)
Enable libyaml be built as shared library (DLL)
| Reported by: | luislavena@… | Owned by: | xi |
|---|---|---|---|
| Priority: | normal | Component: | libyaml |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Hello,
Thank you for LibYAML!
I'm working on building binary packages of certain libraries to ease the installation on Windows platform.
The compiler used is GCC 4.6.x in both 32 and 64 bits (mingw and mingw-w64 projects)
At configure time, even with --enable-shared was specified, no shared library is generated.
I believe is because Windows do not support undefined symbols and libtool is not building it.
Other project (libffi) uses AM_LTLDFLAGS with -no-undefined for that purpose:
https://github.com/atgreen/libffi/blob/master/configure.ac#L101
I've tried it without success, but also I see LibYAML have undefined symbols that could affect libtool.
It will be great if next version of libyaml can be build as shared library.
Thank you.

Hello,
The following patch contributed by RubyInstaller? developers did help:
https://gist.github.com/1901857
Performing
Afterwards on 0.1.4 package solved the issue.
Hope this makes into next 0.1.x release.
Thank you.