]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/modules/glcanvas/build.cfg
2c : check menu was inversely set
[wxWidgets.git] / utils / wxPython / modules / glcanvas / build.cfg
index b5e6a50991862f08dede37944dde6a7c2fde02b7..24103b41310c10859cf4cea83518b9ce6b017f5a 100644 (file)
@@ -12,6 +12,8 @@ if sys.platform == 'win32':
     OTHERLIBS = '$(WXDIR)\lib\glcanvas.lib glu32.lib opengl32.lib'
 else:
     SOURCES = [GENCODEDIR+'/_glcanvas.cpp']
     OTHERLIBS = '$(WXDIR)\lib\glcanvas.lib glu32.lib opengl32.lib'
 else:
     SOURCES = [GENCODEDIR+'/_glcanvas.cpp']
+    print "Warning: assuming MesaGL libraries. Modify build.cfg if you have native GL!"
+    OTHERLIBS = "-lMesaGL -lMesaGLU"
     OTHERRULES = """
 $(GENCODEDIR)/_glcanvas.cpp : 
        cp $(WXDIR)/utils/glcanvas/$(GENCODEDIR)/glcanvas.cpp $@
     OTHERRULES = """
 $(GENCODEDIR)/_glcanvas.cpp : 
        cp $(WXDIR)/utils/glcanvas/$(GENCODEDIR)/glcanvas.cpp $@