From: Emil Velikov Date: Thu, 19 May 2016 17:43:03 +0000 (+0100) Subject: egl: add missing link against $(CLOCK_LIB) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=793574afad9b06222f2625ebd18357b6287a82d0;p=mesa.git egl: add missing link against $(CLOCK_LIB) 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 --- 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