meson: fix inodecmd for darwin/bsd
The BSD stat command uses %N, not %n, and was incorrectly ported to meson. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
ae5cf26b5b
commit
99639dc27c
1 changed files with 2 additions and 2 deletions
|
@ -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 \'\''
|
||||
endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue