From 360bf6cf1cb6f223939d229190b1550c00aab6f2 Mon Sep 17 00:00:00 2001 From: Kevin Trogant Date: Thu, 23 Nov 2023 22:19:02 +0100 Subject: [PATCH] only dllexport if we are building dll's --- src/runtime/runtime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h index 39f08a9..8126b91 100644 --- a/src/runtime/runtime.h +++ b/src/runtime/runtime.h @@ -5,7 +5,7 @@ #include -#if defined(_WIN32) +#if defined(_WIN32) && !defined(VY_STATIC_LIB) #define VY_DLLEXPORT __declspec(dllexport) #else #define VY_DLLEXPORT