summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-06-24 21:31:00 +0100
committerCarl Hetherington <cth@carlh.net>2020-03-08 09:20:08 +0100
commit42d49b34fa87b14484cdb73e5e5babaa26cf30e1 (patch)
tree48b2509d11661979e86963b2d97b8b0097f80105 /cscript
parente475f10dca39b715a09589027452511ac4cd86fb (diff)
Hacks to allow OS X build for 32-bit.
Diffstat (limited to 'cscript')
-rw-r--r--cscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/cscript b/cscript
index fc79902..5cc18c6 100644
--- a/cscript
+++ b/cscript
@@ -24,7 +24,10 @@ def build(target, options):
ext = 'so'
device = 'dev'
elif target.platform == 'osx':
- type = 'generic'
+ if target.bits == 64:
+ type = 'osx'
+ else:
+ type = 'osx32'
blockdev = 'linux'
ext = 'dylib'
device = 'dev'