Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2019-10-27 02:11:28 -0400
committerAllan McRae <allan@archlinux.org>2019-10-30 09:34:51 +1000
commit99639dc27c4c037b3fe7ddf2b77d036a7332b5e3 (patch)
tree5def403f410a97ee8d82dbaec96c8b23b3d59aad
parentae5cf26b5b5b92c9f68b5b29787e7d636f334c12 (diff)
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>
-rw-r--r--meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index c5704efe..1e2a78c3 100644
--- a/meson.build
+++ b/meson.build
@@ -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