[kmscon-devel] [PATCH] [Makefile.am] Add libtsm to bbulk and gltex

Xiong Zhang panda0626 at gmail.com
Thu May 15 03:15:29 PDT 2014


text_bbulk.c and text_gltex.c contain text.h which depend on
libtsm. Without adding tsm flags to compile option, bbulk and
gltex can't be compiled.

Signed-off-by: Xiong Zhang <panda0626 at gmail.com>
---
 Makefile.am | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index be2dc30..8f97c06 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -415,7 +415,12 @@ mod_bbulk_la_SOURCES = \
 	src/kmscon_module_interface.h \
 	src/text_bbulk.c \
 	src/kmscon_mod_bbulk.c
-mod_bbulk_la_LIBADD = libshl.la
+mod_bbulk_la_CPPFLAGS = \
+	$(AM_CPPFLAGS) \
+	$(TSM_CFLAGS)
+mod_bbulk_la_LIBADD = \
+	$(TSM_LIBS) \
+	libshl.la
 mod_bbulk_la_LDFLAGS = \
 	$(AM_LDFLAGS) \
 	-module \
@@ -431,9 +436,11 @@ mod_gltex_la_SOURCES = \
 	src/kmscon_mod_gltex.c
 mod_gltex_la_CPPFLAGS = \
 	$(AM_CPPFLAGS) \
+	$(TSM_CFLAGS) \
 	$(GLES2_CFLAGS)
 mod_gltex_la_LIBADD = \
 	$(GLES2_LIBS) \
+	$(TSM_LIBS) \
 	libshl.la \
 	src/text_gltex_atlas.vert.bin.lo \
 	src/text_gltex_atlas.frag.bin.lo
-- 
1.8.3.2



More information about the kmscon-devel mailing list