Build 64-bit Skia on Mac OS X
It takes me a while to discover how to do it, so I’ll leave this post as a note to myself and to anyone which will have the same need. By default Skia will be build as 32-bit static library under Mac OS X but for who needs to have it as a 64-bit library, here the steps:
export GYP_DEFINES="skia_arch_width=64"
./gyp_skia
make BUILDTYPE=Release
If you need a debug release just change the BUILDTYPE
options from Release
to Debug