[Mesa-dev] [PATCH 04/22] gbm: automake: add VISIBILITY_CFLAGS

Emil Velikov emil.l.velikov at gmail.com
Sat Feb 8 08:03:49 PST 2014


Currently the library exports every symbol imaginable,
rather than the ones defined by the API.

Note: This may cause issues for libraries that are linking
agaist libgbm's internals.

Cc: Kristian Høgsberg <krh at bitplanet.net>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/gbm/Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/gbm/Makefile.am b/src/gbm/Makefile.am
index eacb96a..b144b17 100644
--- a/src/gbm/Makefile.am
+++ b/src/gbm/Makefile.am
@@ -12,7 +12,8 @@ AM_CFLAGS = \
 	$(LIBUDEV_CFLAGS) \
 	$(LIBKMS_CFLAGS) \
 	$(DLOPEN_CFLAGS) \
-	$(DEFINES)
+	$(DEFINES) \
+	$(VISIBILITY_CFLAGS)
 
 lib_LTLIBRARIES = libgbm.la
 include_HEADERS = main/gbm.h
-- 
1.8.5.2



More information about the mesa-dev mailing list