]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
global: don't link lttng into libglobal 8876/head
authorKarol Mroz <kmroz@suse.com>
Mon, 2 May 2016 12:01:27 +0000 (14:01 +0200)
committerKarol Mroz <kmroz@suse.com>
Tue, 3 May 2016 18:22:27 +0000 (20:22 +0200)
Rely on dynamic initialization instead. Linking lttng in this way had
the unfortunate side effect of causing radosgw to segfault (when
daemonized) during sigterm processing (ie. during lttng_ust_exit()).

This was originally removed in 638738f, but accidentally re-added via
5f61d36.

Signed-off-by: Karol Mroz <kmroz@suse.com>
src/global/Makefile.am

index ed93426e05661d0b0ea27eaf4e77dc82b050ee72..243a7fa223b923c8c35c8dbaf1f54f53379b3a8c 100644 (file)
@@ -6,9 +6,7 @@ libglobal_la_SOURCES = \
        common/TrackedOp.cc
 
 libglobal_la_LIBADD = $(LIBCOMMON)
-if WITH_LTTNG
-libglobal_la_LIBADD += -ldl -llttng-ust
-endif
+
 noinst_LTLIBRARIES += libglobal.la
 
 noinst_HEADERS += \