Cleanup: Use pkg-config to detect liburcu
[lttng-tools.git] / src / bin / lttng-relayd / Makefile.am
index 80ee6a70b4d4a0df69c0b216def8c15ad7b2b2a3..f6d5b29501f17295dcc9fc1e0e8641b502be6710 100644 (file)
@@ -28,10 +28,10 @@ lttng_relayd_SOURCES = main.c lttng-relayd.h utils.h utils.c cmd.h \
                        backward-compatibility-group-by.c backward-compatibility-group-by.h
 
 # link on liblttngctl for check if relayd is already alive.
-lttng_relayd_LDADD = -lurcu-common -lurcu \
+lttng_relayd_LDADD = $(URCU_LIBS) \
+               $(top_builddir)/src/common/libcommon.la \
                $(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \
                $(top_builddir)/src/common/hashtable/libhashtable.la \
-               $(top_builddir)/src/common/libcommon.la \
                $(top_builddir)/src/common/compat/libcompat.la \
                $(top_builddir)/src/common/index/libindex.la \
                $(top_builddir)/src/common/health/libhealth.la \
This page took 0.023605 seconds and 4 git commands to generate.