vcpkg/ports/tacopie/fix-export.patch

21 lines
472 B
Diff
Raw Normal View History

2018-01-03 06:54:10 +08:00
--- a/includes/tacopie/utils/logger.hpp
+++ b/includes/tacopie/utils/logger.hpp
@@ -26,6 +26,8 @@
#include <mutex>
#include <string>
+#include <tacopie/utils/tacopie_export.hpp>
+
namespace tacopie {
//!
@@ -161,7 +163,7 @@ private:
//! variable containing the current logger
//! by default, not set (no logs)
//!
-extern std::unique_ptr<logger_iface> active_logger;
+extern TACOPIE_EXPORT std::unique_ptr<logger_iface> active_logger;
//!
//! debug logging