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 <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
---
 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

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to