summaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2016-05-19 18:43:03 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-05-23 12:07:47 +0100
commit793574afad9b06222f2625ebd18357b6287a82d0 (patch)
treebc4babe6348b225e84e3254ecc77fef596b98804 /src/egl
parentd67e757d11342f9cfa566f85c3961259bc4d6870 (diff)
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 <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>
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/Makefile.am2
1 files changed, 1 insertions, 1 deletions
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