diff --git a/panda/src/glstuff/glpure.cxx b/panda/src/glstuff/glpure.cxx index 3eb4b59567..44da482c20 100644 --- a/panda/src/glstuff/glpure.cxx +++ b/panda/src/glstuff/glpure.cxx @@ -22,5 +22,8 @@ // It exists just so we can have some symbols and make the compiler // happy. +#if defined(WIN32_VC) && !defined(CPPPARSER) && !defined(LINK_ALL_STATIC) +__declspec(dllexport) +#endif int glpure;