Skip to content

Commit 58002fc

Browse files
CzarekCzarek
authored andcommitted
CEF build for Mac 64bit.
Added checks for Python architecture and ARCHFLAGS/CEF_CCFLAGS env variables. Updated mac64.sh. Need to set ARCHFLAGS and CEF_CCFLAGS as well. Otherwise Cython will try to compile for both 32bit and 64bit.
1 parent 11e32d8 commit 58002fc

File tree

6 files changed

+1585
-0
lines changed

6 files changed

+1585
-0
lines changed

cefpython/cef3/mac/binaries_32bit/wxpython.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
import uuid
3434
import platform
3535
import inspect
36+
import struct
3637

3738
g_applicationSettings = None
3839
g_browserSettings = None
@@ -759,6 +760,7 @@ def GetSources():
759760
return sources
760761

761762
if __name__ == '__main__':
763+
print('[wxpython.py] architecture=%s-bit' % (8 * struct.calcsize("P")))
762764
print('[wxpython.py] wx.version=%s' % wx.version())
763765

764766
# Intercept python exceptions. Exit app immediately when exception

0 commit comments

Comments
 (0)