[PATCH 5/5] libtraceevent: Add dependency on libdl
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Thu, 26 Dec 2019 22:31:30 +0000 (22:31 +0000)
committerBen Hutchings <benh@debian.org>
Wed, 15 Apr 2020 02:37:48 +0000 (03:37 +0100)
commit939e6d4fdbc82f77cb2072ea25140e4cfb60478d
tree7b6a6f874348bb4c7ba10602586e654c789c56d3
parent3d2dbec58e87eead9611cce1e11e960966ae866f
[PATCH 5/5] libtraceevent: Add dependency on libdl

Forwarded: https://lore.kernel.org/lkml/20191226224931.3458-1-sudipm.mukherjee@gmail.com/

event-plugin.c is calling dl_*() functions but it is not linked with
libdl. As a result when we use ldd on the generated libtraceevent.so
file, it does not list libdl as one of its dependencies.
Add -ldl explicitly as done in tools/lib/lockdep.

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name 0005-libtraceevent-Add-dependency-on-libdl.patch
tools/lib/traceevent/Makefile