[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>
Sat, 23 May 2020 14:29:21 +0000 (15:29 +0100)
commit58e07721ad9c326ac41cab8d5904999d2fee39ec
tree95b5cc711292a0da27821529b201bf46774d33fc
parent81333568e0b5b025f2e5c44e17d0bdb3e58890d4
[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