vcpkg/ports/mathgl/fix-mgllab.patch

14 lines
453 B
Diff
Raw Normal View History

diff --git a/mgllab/mgllab.cpp b/mgllab/mgllab.cpp
index ef2d556..36fbfc4 100644
--- a/mgllab/mgllab.cpp
+++ b/mgllab/mgllab.cpp
@@ -344,7 +344,7 @@ Fl_Menu_Item menuitems[] = {
void mem_upd_cb(Fl_Widget *, void *v)
{ ((ScriptWindow*)v)->mem_init(); }
//-----------------------------------------------------------------------------
-extern Fl_RGB_Image img_udav;
+extern MGL_EXPORT Fl_RGB_Image img_udav;
ScriptWindow *new_view()
{
Fl_Group *gg;