forked from lix-project/lix
meson: correctly set -DSANDBOX_SHELL if we have it
The statically embedded busybox is not required for Lix to work, but
package.nix explicitly sets this, which was accidentally being ignored.
Change-Id: Ieeff830ac7d1f5fabe84d1a6cfd82f13d79035bf
This commit is contained in:
parent
cf0744ceed
commit
077f45ee38
1 changed files with 6 additions and 0 deletions
|
@ -156,6 +156,12 @@ cpp_str_defines = {
|
||||||
'NIX_MAN_DIR': mandir,
|
'NIX_MAN_DIR': mandir,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if busybox.found()
|
||||||
|
cpp_str_defines += {
|
||||||
|
'SANDBOX_SHELL': busybox.full_path()
|
||||||
|
}
|
||||||
|
endif
|
||||||
|
|
||||||
cpp_args = []
|
cpp_args = []
|
||||||
|
|
||||||
foreach name, value : cpp_str_defines
|
foreach name, value : cpp_str_defines
|
||||||
|
|
Loading…
Reference in a new issue