Skip to contentSkip to conversation

tools/quick_dump/makefile.am: add -lrt to get clock_gettime

PATCH New [email protected] 1 participant 1 message Apr 21, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/quick_dump/makefile.am: add -lrt to get clock_gettime

From: Tim Gore <[email protected]>

Attempting to build IGT on linux without libunwind fails due to tools/quick_dump not linking the rt library, causing an undefined symbol error for clock_gettime. Adding -lrt to the list of libraries in Makefile.am fixes this.

---
 tools/quick_dump/Makefile.am | 1 +
 1 file changed, 1 insertion(+)
tools/quick_dump/Makefile.am +1 -0
index 7b06ec3..83f93a2 100644
@@ -14,6 +14,7 @@ I915ChipsetPython_la_LIBADD =			\
 	$(DRM_LIBS)				\
 	$(CAIRO_LIBS)				\
 	$(LIBUNWIND_LIBS)			\
+	-lrt
 	$(NULL)
 
 chipset.py: chipset_wrap_python.c
Signature · 6 lines
2.3.0

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx