Fix wx-config on arm64.
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index 83d64e9cb7ab1cee8fc5f1ab4dddd4a091ec381c..ac84c37171ece90360453934fffe139300cb4dde 100644 (file)
--- a/cscript
+++ b/cscript
@@ -434,7 +434,7 @@ def configure_options(target, options):
         opt += ' --enable-disk'
 
     if target.platform == 'osx' and target.arch == 'arm64':
-        opt += ' --target-macos-arm64'
+        opt += ' --target-macos-arm64 --wx-config=%s/bin' % target.target_environment
 
     return opt