Merge pull request #17303 from CarlosDerSeher/feature_bt_agent
[feed/packages.git] / utils / conmon / patches / 010-remove-libdl-dep.patch
1 --- a/meson.build
2 +++ b/meson.build
3 @@ -35,14 +35,6 @@ add_project_arguments('-Os', '-Wall', '-
4
5 glib = dependency('glib-2.0')
6
7 -cc = meson.get_compiler('c')
8 -null_dep = dependency('', required : false)
9 -if cc.has_function('dlopen')
10 - libdl = null_dep
11 -else
12 - libdl = cc.find_library('dl')
13 -endif
14 -
15 executable('conmon',
16 ['src/conmon.c',
17 'src/config.h',
18 @@ -78,7 +70,7 @@ executable('conmon',
19 'src/utils.h',
20 'src/seccomp_notify.c',
21 'src/seccomp_notify.h'],
22 - dependencies : [glib, libdl],
23 + dependencies : [glib],
24 install : true,
25 install_dir : join_paths(get_option('libexecdir'), 'podman'),
26 )