Pkcs11Interop / empty-pkcs11

PKCS#11 library with the simplest possible implementation
Apache License 2.0
20 stars 10 forks source link

macOS: add support for arm64, universal and catalyst arch #3

Closed mmoraga closed 4 months ago

mmoraga commented 2 years ago

Adds support for arm64, universal and catalyst targets

jariq commented 4 months ago

I've incorporated some of the suggested changes in 11586bed134d5034b6d75c7013948f33fc444c49.

macOS version of the library is now built for both x86_64-apple-macos10.12 and arm64-apple-macos11 targets and is then merged into a single Mach-O universal binary (empty-pkcs11.dylib) usable on both Apple silicon and Intel-based Mac computers.

This version is also working in a Catalyst app on macOS.