[gjs/121-3-27-91-build-failure-on-debian-ubuntu] Profiler: fix build on Debian/Ubuntu
- From: Tim Lunn <timl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/121-3-27-91-build-failure-on-debian-ubuntu] Profiler: fix build on Debian/Ubuntu
- Date: Wed, 21 Feb 2018 13:08:17 +0000 (UTC)
commit dad7c4ec4fef8636bec1088683680b224b1d14d9
Author: Tim Lunn <tim feathertop org>
Date: Thu Feb 22 00:03:36 2018 +1100
Profiler: fix build on Debian/Ubuntu
When linked with --as-needed, there needs to be an explicit reference to librt for the timing
api's used in the profiler.
Closes #121
Makefile.am | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/Makefile.am b/Makefile.am
index 08558e2..17daa30 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -85,6 +85,7 @@ libgjs_la_SOURCES = $(gjs_srcs)
if ENABLE_PROFILER
libgjs_la_SOURCES += $(gjs_sysprof_srcs)
+libgjs_la_LIBADD += -lrt
endif
# Also, these files used to be a separate library
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]