Fix appimage build.
authorCarl Hetherington <cth@carlh.net>
Thu, 17 Feb 2022 19:17:35 +0000 (20:17 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 17 Feb 2022 19:17:35 +0000 (20:17 +0100)
cscript

diff --git a/cscript b/cscript
index a4dcdd0f0858f1ca8c3e0e9fa7cefc05e73a81d8..3259ed6026c56544a92b727384cfd9082bb05522 100644 (file)
--- a/cscript
+++ b/cscript
@@ -569,7 +569,7 @@ def build(target, options):
         with open('build/com.dcpomatic.DCP-o-matic.json', 'w') as outfile:
             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":
+    elif target.platform != "linux" or target.detail == 'appimage':
         # Build here if the packaging step won't do it
         target.command('./waf configure --prefix=%s %s' % (target.directory, configure_options(target, options)))
         target.command('./waf')