[Mesa-dev] [PATCH] glsl: fix scaffolding build
Dave Airlie
airlied at gmail.com
Tue Jan 31 11:31:37 PST 2012
From: Dave Airlie <airlied at redhat.com>
/usr/bin/ld: .libs/glsl_compiler: hidden symbol `_mesa_reference_shader' in standalone_scaffolding.o is referenced by DSO
export the symbol.
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
src/glsl/standalone_scaffolding.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/glsl/standalone_scaffolding.h b/src/glsl/standalone_scaffolding.h
index 8773320..e79c40c 100644
--- a/src/glsl/standalone_scaffolding.h
+++ b/src/glsl/standalone_scaffolding.h
@@ -33,7 +33,7 @@
#include "main/mtypes.h"
-extern "C" void
+extern "C" GLAPI void
_mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr,
struct gl_shader *sh);
--
1.7.7.6
More information about the mesa-dev
mailing list