[PATCH libdrm] freedreno: link against CLOCK_LIB
Emil Velikov
emil.l.velikov at gmail.com
Wed Apr 1 08:53:42 PDT 2015
Required by clock_gettime()
Cc: Rob Clark <robdclark at gmail.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
freedreno/Makefile.am | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/freedreno/Makefile.am b/freedreno/Makefile.am
index 0720867..9b7ec7d 100644
--- a/freedreno/Makefile.am
+++ b/freedreno/Makefile.am
@@ -10,7 +10,10 @@ AM_CFLAGS = \
libdrm_freedreno_la_LTLIBRARIES = libdrm_freedreno.la
libdrm_freedreno_ladir = $(libdir)
libdrm_freedreno_la_LDFLAGS = -version-number 1:0:0 -no-undefined
-libdrm_freedreno_la_LIBADD = ../libdrm.la @PTHREADSTUBS_LIBS@
+libdrm_freedreno_la_LIBADD = \
+ ../libdrm.la \
+ @PTHREADSTUBS_LIBS@ \
+ @CLOCK_LIB@
libdrm_freedreno_la_SOURCES = $(LIBDRM_FREEDRENO_FILES)
if HAVE_FREEDRENO_KGSL
--
2.3.1
More information about the dri-devel
mailing list