From 24890ca38a4676cb2c8b19388837c021f8b27288 Mon Sep 17 00:00:00 2001 From: LAGonauta Date: Sun, 4 Oct 2020 06:40:26 -0300 Subject: [PATCH] Export all plugin symbols on Windows --- plugins/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index b3137946..ed7feb6e 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -1,3 +1,7 @@ +if(WIN32) + add_link_options("-Wl,--export-all-symbols") +endif(WIN32) + if(DINO_PLUGIN_ENABLED_http-files) add_subdirectory(http-files) endif(DINO_PLUGIN_ENABLED_http-files)