change condition

This commit is contained in:
Dmitry Shibanov 2023-05-24 17:52:36 +02:00
parent 46ba774632
commit a168f9240e

View File

@ -52,10 +52,8 @@ else:
### Validate macOS
if os_type == 'Darwin':
if version_major == 3 and version_minor < 12:
from distutils.version import LooseVersion
### Validate openssl links
if LooseVersion(nativeVersion) < LooseVersion("3.7.0"):
if version_major == 3 and version_minor < 7:
expected_ldflags = '-L/usr/local/opt/openssl@1.1/lib'
ldflags = sysconfig.get_config_var('LDFLAGS')