bindings-cpp
bindings-cpp copied to clipboard
Fix unsupported architecture for MacOS
Hi,
With OTHER_ prefix my macos is not able to build the module with node-gyp. With this fix it is able to build. :)
fix: #99
Thanks for this, @GlaceCoding! It would be nice to get this merged.
@reconbot ☝🏻
(I don't know if you watch this repository, I allow myself to ping you.)
I was asking my self it is really 'OTHER_CFLAGS' that you want to do ?
It looks like you're on an older os and xcode? none of my machines or CI have issues with the "other" flags. We've had it setup this way for over 10 years. However, it seems to build fine with this change, it needs some testing. I'd feel more comfortable if I knew the impact of the change but I can't find documentation. It is the way it is because it got that way.
I tried on a Mojave but I thought my teammate had last macbook air version (because they need to do it also) 🤔
This doesn't seem to be an issue for most OSs