mesa: Apply visibility flags to src/Makefile.am targets
authorKristian Høgsberg <krh@bitplanet.net>
Tue, 24 Mar 2015 16:41:08 +0000 (09:41 -0700)
committerKristian Høgsberg <kristian.h.kristensen@intel.com>
Wed, 25 Mar 2015 05:02:57 +0000 (22:02 -0700)
We were building libglsl_util.la without our visibility flags and
leaking hash_table_* symbols.

Signed-off-by: Kristian Høgsberg <kristian.h.kristensen@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/Makefile.am

index 8edf33373e9c006d48cddf9e9ce6eae29e2df696..874a3334a83af31db072312fa58a22ba8952bc74 100644 (file)
@@ -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/ \