blob: d3c451fd2bc020a867f01d3bc0c5e8322c19eee2 [file] [log] [blame]
Andrew Geissler5199d832021-09-24 16:47:35 -05001From 2058584b7e87d6bd9d1765577766e0df7752232c Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Sun, 5 Sep 2021 10:44:19 +0200
4Subject: [PATCH] lttng-ust-common: link with liburcu explicitly
5
6Otherwise linking errors are seen on x86-32.
7
Andrew Geissler595f6302022-01-24 19:11:47 +00008Upstream-Status: Submitted [by email to lttng-dev, Francis, Jonathan]
Andrew Geissler5199d832021-09-24 16:47:35 -05009Signed-off-by: Alexander Kanavin <alex@linutronix.de>
10---
11 src/lib/lttng-ust-common/Makefile.am | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/src/lib/lttng-ust-common/Makefile.am b/src/lib/lttng-ust-common/Makefile.am
15index caeea2b..30febf0 100644
16--- a/src/lib/lttng-ust-common/Makefile.am
17+++ b/src/lib/lttng-ust-common/Makefile.am
18@@ -15,6 +15,7 @@ liblttng_ust_common_la_SOURCES = \
19
20 liblttng_ust_common_la_LIBADD = \
21 $(top_builddir)/src/common/libcommon.la \
22+ $(URCU_LIBS) \
23 $(DL_LIBS)
24
25 liblttng_ust_common_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)