[Mesa-dev] [PATCH] mesa: Apply visibility flags to src/Makefile.am targets
Kristian Høgsberg
kristian.h.kristensen at intel.com
Tue Mar 24 09:49:55 PDT 2015
From: Kristian Høgsberg <krh at bitplanet.net>
We were building libglsl_util.la without our visibility flags and
leaking hash_table_* symbols.
Signed-off-by: Kristian Høgsberg <kristian.h.kristensen at intel.com>
---
src/Makefile.am | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/Makefile.am b/src/Makefile.am
index 8edf333..874a333 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -55,6 +55,9 @@ endif
EXTRA_DIST = egl/docs getopt hgl SConscript
+AM_CFLAGS = $(VISIBILITY_CFLAGS)
+AM_CXXFLAGS = $(VISIBILITY_CXXFLAGS)
+
AM_CPPFLAGS = \
-I$(top_srcdir)/include/ \
-I$(top_srcdir)/src/mapi/ \
--
2.1.0
More information about the mesa-dev
mailing list