diff --git a/dune/pybindxi/interpreter.hh b/dune/pybindxi/interpreter.hh index b6f40fd3440f45effee56f9fb3c3350057ddc3b3..680f569113022031899959865be7eefbf1371948 100644 --- a/dune/pybindxi/interpreter.hh +++ b/dune/pybindxi/interpreter.hh @@ -15,6 +15,8 @@ #include <map> #include <string> +#include <dune/common/visibility.hh> + #include "embed.h" namespace Dune { @@ -33,7 +35,7 @@ private: std::map<std::string, pybind11::module> modules_; }; // class ScopedInterpreter -ScopedInterpreter &GlobalInterpreter(); +DUNE_EXPORT ScopedInterpreter &GlobalInterpreter(); } // namespace PybindXI } // namespace Dune