This is a PR to adjust a workaround I specified for libSoundTouch, when it's built for or under Windows. That library does not mark any classes at __declspec(dllexport) or even __attribute__((visibility("default"))), so if one doesn't enforce -fvisibility=default or is a Microsoft compiler, the linker will fail to create the export library.
The present PR narrows the workaround so that one relies on GCC and Clang's default behaviour to preserve that functionality, and uses static_library under MSVS.
It also corrects some files whose line endings, due to a misconfiguration in my Git clone, made it as CRLF and not as LF.
Hi all,
This is a PR to adjust a workaround I specified for
libSoundTouch
, when it's built for or under Windows. That library does not mark any classes at__declspec(dllexport)
or even__attribute__((visibility("default")))
, so if one doesn't enforce-fvisibility=default
or is a Microsoft compiler, the linker will fail to create the export library.The present PR narrows the workaround so that one relies on GCC and Clang's default behaviour to preserve that functionality, and uses
static_library
under MSVS.It also corrects some files whose line endings, due to a misconfiguration in my Git clone, made it as
CRLF
and not asLF
.