summaryrefslogtreecommitdiff
path: root/src/gbm
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-01-25 17:22:05 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2014-02-11 19:00:09 +0000
commitd00b319f4071a2e31bbe12e1cbad7ef7681e1ebb (patch)
tree7489ee34b04aceafb41c9fe44db63083c67bf3fb /src/gbm
parent631cc6105d084e466a11f77dc0e7c262449d42dd (diff)
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 <krh@bitplanet.net> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/gbm')
-rw-r--r--src/gbm/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gbm/Makefile.am b/src/gbm/Makefile.am
index c46f14a69b..261429881f 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