From 5d8357976a84396ebe10ed5a0d6ba1b79ccdcf2e Mon Sep 17 00:00:00 2001 From: Thierry Reding Date: Wed, 19 Feb 2014 15:56:50 +0100 Subject: configure: Support symbol visibility when available Checks whether or not the compiler supports the -fvisibility option. If so it sets the VISIBILITY_CFLAGS variable which can be added to the per directory AM_CFLAGS where appropriate. By default all symbols will be hidden via the VISIBILITY_CFLAGS. The drm_public macro can be used to mark symbols that should be exported. Reviewed-by: Maarten Lankhorst Reviewed-by: Emil Velikov Signed-off-by: Thierry Reding --- Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 826c30d0..65680da9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -69,6 +69,7 @@ libdrm_la_SOURCES = \ xf86drmSL.c \ xf86drmMode.c \ xf86atomic.h \ + libdrm.h \ libdrm_lists.h libdrmincludedir = ${includedir} -- cgit v1.2.3