Skip to contentSkip to conversation

flip_test: fix link error due to missing -lrt

PATCH Applied Imre Deak 2 participants 2 messages Dec 7, 2012 – Dec 8, 2012

lore
Share & tools
lore

Imre Deak

author
#0 lore raw

PATCH 1/1 flip_test: fix link error due to missing -lrt

Needed by clock_gettime(). This isn't a problem if libudev is used, as that pulles librt with it.

---
 tests/Makefile.am | 1 +
 1 file changed, 1 insertion(+)
tests/Makefile.am +1 -0
index 4658fce..c49d870 100644
@@ -176,6 +176,7 @@ gem_fence_thrash_LDADD = $(LDADD) -lpthread
 gem_threaded_access_tiled_LDADD = $(LDADD) -lpthread
 
 gem_wait_render_timeout_LDADD = $(LDADD) -lrt
+flip_test_LDADD = $(LDADD) -lrt
 
 gem_ctx_basic_LDADD = $(LDADD) -lpthread
 
Signature · 1 line
1.7.11.7
#1 lore raw
Quoted 4 lines · Imre Deak

Needed by clock_gettime(). This isn't a problem if libudev is used, as that pulles librt with it.

Applied, thanks for the pach.
-Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch