summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-10-08 23:57:05 +0200
committerCarl Hetherington <cth@carlh.net>2024-10-08 23:57:38 +0200
commit88c6fa1a5ae60831bf0fb3a6ac8bbd1d3f00fae0 (patch)
treeb873b631a283b539ec616e50c7d01288c3cb7619
parent3368aefd9782b0e22b95c1bcf988fd9b1c10522e (diff)
Fix mac build.
-rw-r--r--cscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/cscript b/cscript
index 2a369133f..07c53c41c 100644
--- a/cscript
+++ b/cscript
@@ -720,7 +720,7 @@ def build(target, options, for_package):
json.dump(desc, outfile)
target.command('%s --repo=build/platform/repo build/platform/flatpak build/com.dcpomatic.DCP-o-matic.json' % target.flatpak_builder())
elif target.platform != 'linux' or target.detail == 'appimage' or not for_package:
- if target.distro == 'arch':
+ if target.platform == 'linux' and target.distro == 'arch':
# We're using a special pinned distro FFmpeg on Arch, and this is necessary to find it
target.append_with_colon('PKG_CONFIG_PATH', '/usr/lib/ffmpeg4.4/pkgconfig')
target.command('./waf configure --prefix=%s %s' % (target.directory, configure_options(target, options, for_package)))