[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>
Tue, 9 Jun 2020 17:50:00 +0000 (18:50 +0100)
commit0bb355e7f367c35053efc993a112f14f927d2886
tree9da985021af817f6d9a83ce8dcbbfc0374720801
parent946eea4dc840b9cfaeb358bf0d8a7604509d44de
[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