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