Commit 99639dc2 authored by Eli Schwartz's avatar Eli Schwartz Committed by Allan McRae
Browse files

meson: fix inodecmd for darwin/bsd

The BSD stat command uses %N, not %n, and was incorrectly ported to

Signed-off-by: Eli Schwartz's avatarEli Schwartz <>
Signed-off-by: Allan McRae's avatarAllan McRae <>
parent ae5cf26b
......@@ -236,13 +236,13 @@ endif
os = host_machine.system()
if os.startswith('darwin')
inodecmd = '/usr/bin/stat -f \'%i %n\''
inodecmd = '/usr/bin/stat -f \'%i %N\''
default_sedinplaceflags = ' -i \'\''
strip_binaries = ''
strip_shared = '-s'
strip_static = '-s'
elif os.contains('bsd') or os == 'dragonfly'
inodecmd = 'stat -f \'%i %n\''
inodecmd = 'stat -f \'%i %N\''
default_sedinplaceflags = ' -i \'\''
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment