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>2019-12-02 16:03:18 +0100
commit4c6c1a0f0c2f0adcf4b0553a64deab092ab729ce (patch)
tree74bcdad5251d6186c4684e1a17c49e385bdf05e6 /cscript
parentfed5ef394c62549f1d5a5f9623985935ef048ce5 (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 a8dcbd0..aee9922 100644
--- a/cscript
+++ b/cscript
@@ -23,7 +23,10 @@ def build(target, options):
blockdev = 'linux'
ext = 'so'
elif target.platform == 'osx':
- type = 'generic'
+ if target.bits == 64:
+ type = 'osx'
+ else:
+ type = 'osx32'
blockdev = 'linux'
ext = 'dylib'
elif target.platform == 'windows':