diff options
author | Jonathan Gray <[email protected]> | 2016-10-22 18:19:53 +1100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-10-24 11:32:13 +0100 |
commit | af81cdfec045f9e175edd5b5e8fcaa9e91f0dd38 (patch) | |
tree | af1f6802a838186a7cd339a67d1482e483e17af0 | |
parent | 990f395e007c3204639daa34efc3049f350ee819 (diff) |
mapi: automake: set VISIBILITY_CFLAGS for shared glapi
shared glapi was previously built without setting CFLAGS for
AM_CFLAGS and VISIBILITY_CFLAGS.
This resulted in symbols being exported that shouldn't be.
The x86 and sparc assembly versions of the dispatch table partially
mitigated this by using .hidden. Otherwise shared_dispatch_stub_*
were being exported.
Signed-off-by: Jonathan Gray <[email protected]>
Cc: "11.2 12.0 13.0" <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
-rw-r--r-- | src/mapi/Makefile.am | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mapi/Makefile.am b/src/mapi/Makefile.am index 46afe3bae60..5013e9af5e1 100644 --- a/src/mapi/Makefile.am +++ b/src/mapi/Makefile.am @@ -64,6 +64,9 @@ BUILT_SOURCES += shared-glapi/glapi_mapi_tmp.h lib_LTLIBRARIES += shared-glapi/libglapi.la shared_glapi_libglapi_la_SOURCES = $(MAPI_GLAPI_FILES) shared-glapi/glapi_mapi_tmp.h +shared_glapi_libglapi_la_CFLAGS = \ + $(AM_CFLAGS) \ + $(VISIBILITY_CFLAGS) shared_glapi_libglapi_la_CPPFLAGS = \ $(AM_CPPFLAGS) \ -DMAPI_MODE_GLAPI \ |