From 09b981d943a4ca06865e11b68a0f1c892895edcb Mon Sep 17 00:00:00 2001 From: "Nathan V. Morrical" Date: Tue, 13 Aug 2024 01:23:14 -0600 Subject: [PATCH] fixing static build (#5713) --- contrib/poly2tri/poly2tri/common/dll_symbol.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/poly2tri/poly2tri/common/dll_symbol.h b/contrib/poly2tri/poly2tri/common/dll_symbol.h index 72ed5a75f..c18c2baec 100644 --- a/contrib/poly2tri/poly2tri/common/dll_symbol.h +++ b/contrib/poly2tri/poly2tri/common/dll_symbol.h @@ -53,7 +53,9 @@ # define P2T_DLL_SYMBOL # elif defined(P2T_SHARED_EXPORTS) # define P2T_DLL_SYMBOL P2T_COMPILER_DLLEXPORT -# else +# elif defined(BUILD_SHARED_LIBS) # define P2T_DLL_SYMBOL P2T_COMPILER_DLLIMPORT +# else +# define P2T_DLL_SYMBOL # endif #endif