From 4f99421755840004e64c08b5e027eacd70a3a2b6 Mon Sep 17 00:00:00 2001 From: Joris Vaillant Date: Tue, 24 Sep 2024 17:53:45 +0200 Subject: [PATCH] core: Try to use DLLAPI to fix Windows link --- include/eigenpy/numpy.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/eigenpy/numpy.hpp b/include/eigenpy/numpy.hpp index fd63f3b8..f74349dd 100644 --- a/include/eigenpy/numpy.hpp +++ b/include/eigenpy/numpy.hpp @@ -14,7 +14,7 @@ // For compatibility with Numpy 2.x // See // https://numpy.org/devdocs/reference/c-api/array.html#c.NPY_API_SYMBOL_ATTRIBUTE -#define NPY_API_SYMBOL_ATTRIBUTE +#define NPY_API_SYMBOL_ATTRIBUTE EIGENPY_DLLAPI #include #ifdef NPY_1_8_API_VERSION