Port: Add support for linkers with no support for 'no-as-needed'
[babeltrace.git] / converter / Makefile.am
index 374d1d47f11a5e3cfc8aa852dbd2baf98907b986..af95627d285d30b81af385d70ff2da70a3921377 100644 (file)
@@ -9,7 +9,7 @@ babeltrace_SOURCES = \
 # -Wl,--no-as-needed is needed for recent gold linker who seems to think
 # it knows better and considers libraries with constructors having
 # side-effects as dead code.
-babeltrace_LDFLAGS = -Wl,--no-as-needed
+babeltrace_LDFLAGS = $(LD_NO_AS_NEEDED)
 babeltrace_LDADD = \
        $(top_builddir)/lib/libbabeltrace.la \
        $(top_builddir)/formats/ctf/libbabeltrace-ctf.la \
This page took 0.036014 seconds and 4 git commands to generate.