kohlschutter / junixsocket

Unix Domain Sockets in Java 7 and newer (AF_UNIX), AF_TIPC, AF_VSOCK, and more
Apache License 2.0
438 stars 114 forks source link

Support for arm on Mac OS X #88

Closed sebhopley closed 3 years ago

sebhopley commented 3 years ago

Hi,

Do you have any plans to add arm support for Mac OS X.

sebhopley commented 3 years ago

So I forked the project and have got it building on an M1 Mac, there were some issues tho:

Homebrew is now installed to /opt/homebrew, so I had to update some scripts to account for this. You have to target macOS 11.0 You have to sign the built lib, you can self sign and it will work on any machine tho.

I'm happy to submit a pull request, is there a particular way you want it configured?

kohlschuetter commented 3 years ago

Thanks for reaching out!

I've added support for building on/cross-compiling for Apple Silicon Macs in the master branch. Please give it a try and let me know if it works for you.

kohlschuetter commented 3 years ago

Closing due to inactivity. Support was added in junixsocket 2.3.3