gbm: automake: add
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 25 Jan 2014 17:22:05 +0000 (17:22 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 11 Feb 2014 19:00:09 +0000 (19:00 +0000)
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>
src/gbm/Makefile.am

index c46f14a69b95dbf90bd777b7d724e717da9a5662..261429881fabf2ea407ec2bf2e5129277c14d9e9 100644 (file)
@@ -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