From: Dave Airlie <[email protected]>

/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 <[email protected]>
---
 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

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to