Hello,

I'd like to propose a change that fixes static linking with the EXR
plugin on MinGW. Since it changes only one line, I have included the
diff in this mail; I hope that's ok.

Martin


--- a/src/osgPlugins/exr/ReaderWriterEXR.cpp    2008-11-27 10:36:18.000000000 
+0100
+++ b/src/osgPlugins/exr/ReaderWriterEXR.cpp    2010-01-26 21:36:31.000000000 
+0100
@@ -4,7 +4,7 @@
 #include <osg/Image>
 #include <osg/GL>
 
-#ifdef _WIN32
+#if defined _WIN32 && !defined OSG_LIBRARY_STATIC
 //Make the half format work against openEXR libs 
 #define OPENEXR_DLL
 #endif
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to