packages/utils/conmon/patches/010-remove-libdl-dep.patch
Oskari Rauta 1d55ac917f conmon: update to version 2.1.0
This release contains Bug fixes
patch refreshed

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2022-03-02 16:31:19 -08:00

26 lines
708 B
Diff

--- 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'),
)