Allow the build of the target to be disabled by the user and also enable
the addition of platform restrictions.
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
bashcompletions += ['zramctl']
endif
+opt = get_option('build-prlimit').allowed()
exe = executable(
'prlimit',
prlimit_sources,
link_with : [lib_common,
lib_smartcols],
install_dir : usrbin_exec_dir,
- install : true)
-if not is_disabler(exe)
+ install : opt,
+ build_by_default : opt)
+if opt and not is_disabler(exe)
exes += exe
manadocs += prlimit_manadocs
bashcompletions += ['prlimit']
description : 'build getino')
option('build-copyfilerange', type : 'feature',
description : 'build copyfilerange')
+option('build-prlimit', type : 'feature',
+ description : 'build prlimit')
# static programs