From 793574afad9b06222f2625ebd18357b6287a82d0 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 19 May 2016 18:43:03 +0100 Subject: [PATCH] egl: add missing link against $(CLOCK_LIB) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Some platforms require separate library in order to resolve the clock_gettime() symbol. Add the link or the build will fail. Fixes: 70299474f58 ("egl: add EGL_KHR_reusable_sync to egl_dri") Cc: Dongwon Kim Reported-by: Pali Rohár Tested-by: Pali Rohár Signed-off-by: Emil Velikov --- src/egl/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/egl/Makefile.am b/src/egl/Makefile.am index 3f163bc3d2b..407cc69b53e 100644 --- a/src/egl/Makefile.am +++ b/src/egl/Makefile.am @@ -101,7 +101,7 @@ libEGL_la_SOURCES += \ $(dri3_backend_FILES) libEGL_la_LIBADD += $(top_builddir)/src/loader/libloader.la -libEGL_la_LIBADD += $(DLOPEN_LIBS) $(LIBDRM_LIBS) +libEGL_la_LIBADD += $(DLOPEN_LIBS) $(LIBDRM_LIBS) $(CLOCK_LIB) endif include $(top_srcdir)/install-lib-links.mk -- 2.30.2