[PATCH xserver] tests: link against libos too

Giuseppe Bilotta giuseppe.bilotta at gmail.com
Fri Jan 13 17:44:01 UTC 2017


Without it, compiling tests fails due to the xsha1 functions defined in
libos and referenced from HashGlyph in render.

Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
---
 test/Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/Makefile.am b/test/Makefile.am
index 729402f..78d8f9f 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -140,7 +140,8 @@ tests_LDADD += \
             $(top_builddir)/hw/xfree86/i2c/libi2c.la \
             $(top_builddir)/hw/xfree86/dixmods/libxorgxkb.la \
             $(top_builddir)/Xext/libXvidmode.la \
-            @XORG_LIBS@
+            @XORG_LIBS@ \
+            @OS_LIB@
 
 BUILT_SOURCES = sdksyms.c
 CLEANFILES += sdksyms.c
-- 
2.8.1.372.g9612035



More information about the xorg-devel mailing list