libtraceevent: add libdl dependency to meson
PATCH 1/1 libtraceevent: add libdl dependency to meson
Libdl is mandatory since it's used by plugins, so let's add it to meson to prevent build failure where -ldl is not implicit.
Signed-off-by Giulio Benetti <[email protected]>
--- src/meson.build | 4 ++++ 1 file changed, 4 insertions(+)
src/meson.build +4 -0
@@ -13,10 +13,14 @@ sources= [ 'trace-seq.c', ] +cc = meson.get_compiler('c') +dl_dep = cc.find_library('dl') + libtraceevent = library( 'traceevent', sources, version: library_version, + dependencies: [dl_dep], include_directories: [incdir], install: true)
Signature · 1 line
2.34.1