krzyzanowskim / OpenSSL

OpenSSL package for SwiftPM, CocoaPod, and Carthage, multiplatform
https://swift.best
Other
910 stars 336 forks source link

Fix macOS deployment target #94

Closed nibe closed 3 years ago

nibe commented 3 years ago

The macOS deployment target appears to be macOS 11.0, not macOS 10.10 as it says in the code. This applies both to the included binaries and compiling them yourself.

With the included fix the macOS deployment target after compiling reflects the code.

I have not included the updated binaries because you probably want to compile them yourself. Also, I have not tested if the line export OSX_DEPLOYMENT_VERSION="10.10" is superfluous now or if other environment variables are affected.

krzyzanowskim commented 3 years ago

you're right. thank you. Maybe I missed how it changed over the versions or smth. MACOSX_DEPLOYMENT_TARGET is the one to use.