From c899049e33b4159f6fb694da28acb597c92c8d2a Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Sat, 10 Oct 2015 10:04:08 +1000 Subject: [PATCH] For OSMesa support - build fix --- auto/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto/Makefile b/auto/Makefile index a384bd6..953660e 100644 --- a/auto/Makefile +++ b/auto/Makefile @@ -213,7 +213,7 @@ $(S.DEST)/glew.c: $(EXT)/.dummy cat $(SRC)/glew_init_wgl.c >> $@ $(BIN)/make_list.pl $(WGL_EXT_SPEC) >> $@ echo -e "\n return GLEW_OK;\n}" >> $@; - echo -e "\n#elif !defined(__ANDROID__) && !defined(__native_client__) && !defined(__HAIKU__) && (!defined(__APPLE__) || defined(GLEW_APPLE_GLX))" >> $@ + echo -e "\n#elif !defined(GLEW_OSMESA) && !defined(__ANDROID__) && !defined(__native_client__) && !defined(__HAIKU__) && (!defined(__APPLE__) || defined(GLEW_APPLE_GLX))" >> $@ $(BIN)/make_def_fun.pl GLX $(GLX_CORE_SPEC) >> $@ $(BIN)/make_def_fun.pl GLX $(GLX_EXT_SPEC) >> $@ echo -e "\n#if !defined(GLEW_MX)" >> $@;