[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)
committerSalvatore Bonaccorso <carnil@debian.org>
Wed, 24 Jun 2020 18:56:57 +0000 (19:56 +0100)
commit4e73e9cd20bad649a01eada41e739d9f71ea30e2
treef004fc96388aed4067a4366234bb74c5dd00c8ef
parentae1744360885f42eded72355b4b40000d0db226c
[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