diff options
author | julien.hamaide <julien.hamaide@fishingcactus.com> | 2012-01-03 22:58:39 +0100 |
---|---|---|
committer | julien.hamaide <julien.hamaide@fishingcactus.com> | 2012-01-03 22:58:39 +0100 |
commit | b04311eb1b00655ccad0a9766291e5e11cc0919e (patch) | |
tree | d350ccd4f39fa6cfbfcffb65a65d0d6edf175dea | |
parent | 3224bff920ca86471a532a5806d3d549cd0bb4d2 (diff) |
Add comment for Osx specific treatment of bitcode files
-rw-r--r-- | tools/shared.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/shared.py b/tools/shared.py index 2c83bdeb..bfb338d9 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -666,6 +666,7 @@ class Building: b = open(filename, 'r').read(4) if b[0] == 'B' and b[1] == 'C': return True + # on OS X, there is a 20-byte prefix elif ord(b[0]) == 222 and ord(b[1]) == 192 and ord(b[2]) == 23 and ord(b[3]) == 11: b = open(filename, 'r').read(24) return b[20] == 'B' and b[21] == 'C' |