diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-10-08 23:57:05 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-10-08 23:57:38 +0200 |
| commit | 88c6fa1a5ae60831bf0fb3a6ac8bbd1d3f00fae0 (patch) | |
| tree | b873b631a283b539ec616e50c7d01288c3cb7619 | |
| parent | 3368aefd9782b0e22b95c1bcf988fd9b1c10522e (diff) | |
Fix mac build.
| -rw-r--r-- | cscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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))) |
