blob: e85dbdb43989fe78792d07ec08dbf3fbe8089c09 [file] [log] [blame]
Patrick Williams39653562024-03-01 08:54:02 -06001From 27402453f25fbdb5a9fb1a1b88d1c4d9852187d2 Mon Sep 17 00:00:00 2001
Andrew Geissler5199d832021-09-24 16:47:35 -05002From: 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>
Patrick Williams39653562024-03-01 08:54:02 -060010
Andrew Geissler5199d832021-09-24 16:47:35 -050011---
12 src/lib/lttng-ust-common/Makefile.am | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/src/lib/lttng-ust-common/Makefile.am b/src/lib/lttng-ust-common/Makefile.am
Patrick Williams39653562024-03-01 08:54:02 -060016index 1ccc290..6531fa0 100644
Andrew Geissler5199d832021-09-24 16:47:35 -050017--- a/src/lib/lttng-ust-common/Makefile.am
18+++ b/src/lib/lttng-ust-common/Makefile.am
Patrick Williams39653562024-03-01 08:54:02 -060019@@ -16,6 +16,7 @@ liblttng_ust_common_la_SOURCES = \
Andrew Geissler5199d832021-09-24 16:47:35 -050020
21 liblttng_ust_common_la_LIBADD = \
22 $(top_builddir)/src/common/libcommon.la \
23+ $(URCU_LIBS) \
24 $(DL_LIBS)
25
26 liblttng_ust_common_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)