restbed
restbed copied to clipboard
Cannot buid a static Windows restbed library without export any symbol
On current master, you cannot build restbed without exporting any restbed symbol.
This is because __declspec(dllimport) or __declspec(dllexport) is always prepended.
https://github.com/Corvusoft/restbed/blob/0c99284fba4f37a89de24972e48b8154abc5dc75/source/corvusoft/restbed/request.hpp#L24-L32
There is no path to avoid the __declspec or the __attribute__((visibility ("default"))).
hey, is there any progress regarding this issue? We cannot static link the restbed webserver on windows