From 88c6fa1a5ae60831bf0fb3a6ac8bbd1d3f00fae0 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 8 Oct 2024 23:57:05 +0200 Subject: Fix mac build. --- cscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cscript') 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))) -- cgit v1.2.3