From d00b319f4071a2e31bbe12e1cbad7ef7681e1ebb Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sat, 25 Jan 2014 17:22:05 +0000 Subject: [PATCH] gbm: automake: add VISIBILITY_CFLAGS MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Emil Velikov Reviewed-by: Matt Turner --- 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 c46f14a69b9..261429881fa 100644 --- a/src/gbm/Makefile.am +++ b/src/gbm/Makefile.am @@ -11,7 +11,8 @@ AM_CFLAGS = \ -I$(top_srcdir)/src/gbm/main \ $(LIBKMS_CFLAGS) \ $(DLOPEN_CFLAGS) \ - $(DEFINES) + $(DEFINES) \ + $(VISIBILITY_CFLAGS) lib_LTLIBRARIES = libgbm.la include_HEADERS = main/gbm.h -- 2.30.2