Skip to contentSkip to conversation

as-needed.inc: add babeltrace exception

PATCH New Nathan Lynch 1 participant 1 message Sep 12, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 as-needed.inc: add babeltrace exception

The babeltrace command has plugins which it specifies in its link step but on which (in the linker's view) it does not depend, so --as-needed causes some of them to be omitted from the executable's dependencies. This prevents babeltrace on OE-built systems from handling streaming/live tracing sessions.

Babeltrace's makefiles already try to prevent this by using --no-as-needed, but --as-needed gets placed afterward in the command line, so it wins.

---
 meta/conf/distro/include/as-needed.inc | 1 +
 1 file changed, 1 insertion(+)
meta/conf/distro/include/as-needed.inc +1 -0
index 9d2056e17a96..4f249fd3e65c 100644
@@ -1,6 +1,7 @@
 
 ASNEEDED = "-Wl,--as-needed"
 
+ASNEEDED_pn-babeltrace = ""
 ASNEEDED_pn-console-tools = ""
 ASNEEDED_pn-distcc = ""
 ASNEEDED_pn-openobex = ""
Signature · 1 line
2.4.3