|
|
@ -1,14 +1,21 @@ |
|
|
|
--- a/meson.build
|
|
|
|
+++ b/meson.build
|
|
|
|
@@ -34,7 +34,6 @@ add_project_arguments('-Os', '-Wall', '-
|
|
|
|
language : 'c') |
|
|
|
@@ -35,14 +35,6 @@ add_project_arguments('-Os', '-Wall', '-
|
|
|
|
|
|
|
|
glib = dependency('glib-2.0') |
|
|
|
-libdl = cc.find_library('dl')
|
|
|
|
|
|
|
|
-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', |
|
|
|
@@ -71,7 +70,7 @@ executable('conmon',
|
|
|
|
'src/config.h', |
|
|
|
@@ -78,7 +70,7 @@ executable('conmon',
|
|
|
|
'src/utils.h', |
|
|
|
'src/seccomp_notify.c', |
|
|
|
'src/seccomp_notify.h'], |
|
|
|