From: Emil Velikov Date: Sat, 25 Jan 2014 17:22:05 +0000 (+0000) Subject: gbm: automake: add X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d00b319f4071a2e31bbe12e1cbad7ef7681e1ebb;p=mesa.git gbm: automake: add VISIBILITY_CFLAGS 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 --- 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