Tweak previous.
authorCarl Hetherington <cth@carlh.net>
Sat, 26 Dec 2020 00:42:04 +0000 (01:42 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 26 Dec 2020 00:42:04 +0000 (01:42 +0100)
cscript

diff --git a/cscript b/cscript
index d88d29129507fb16338f6f6cb99aa3e10fe9095a..0897a76109c181b4149dc13a875039569bce37bc 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 --wx-config=%s/bin/wx-config' % target.target_environment
+        opt += ' --target-macos-arm64 --wx-config=%s/wx-config' % target.bin
 
     return opt