egl: add missing link against $(CLOCK_LIB)
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 19 May 2016 17:43:03 +0000 (18:43 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 23 May 2016 11:07:47 +0000 (12:07 +0100)
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 <dongwon.kim@intel.com>
Reported-by: Pali Rohár <pali.rohar@gmail.com>
Tested-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/egl/Makefile.am

index 3f163bc3d2b7183b3fa045a6ca76f86e568ff4ae..407cc69b53ef819962d50023fe31d7c6d188b00f 100644 (file)
@@ -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