glcpp: link with tests/common.c
authorTapani Pälli <tapani.palli@intel.com>
Fri, 30 May 2014 04:47:05 +0000 (07:47 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Fri, 30 May 2014 06:22:24 +0000 (09:22 +0300)
So that prog_hash_table can use _mesa_error_no_memory function.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
src/glsl/Makefile.am

index fd0e837d11fa4e1daf014040cff4cb826c3e4ff1..00261fd0d193ebc55cde4e652b5fdd1f0ba4c32e 100644 (file)
@@ -114,6 +114,7 @@ libglcpp_la_SOURCES =                                       \
 
 glcpp_glcpp_SOURCES =                                  \
        glcpp/glcpp.c                                   \
+       tests/common.c                                  \
        $(top_srcdir)/src/mesa/program/prog_hash_table.c
 glcpp_glcpp_LDADD =                                    \
        libglcpp.la                                     \