mirror of
https://github.com/actions/python-versions.git
synced 2025-04-05 14:59:39 +00:00
Update openssl 1.1 to 3 (#316)
* Update openssl to 3 * openssl update 3
This commit is contained in:
@ -54,15 +54,15 @@ else:
|
||||
if os_type == 'Darwin':
|
||||
### Validate openssl links
|
||||
if version_major == 3 and version_minor < 7:
|
||||
expected_ldflags = '-L/usr/local/opt/openssl@1.1/lib'
|
||||
expected_ldflags = '-L/usr/local/opt/openssl@3/lib'
|
||||
ldflags = sysconfig.get_config_var('LDFLAGS')
|
||||
|
||||
if not expected_ldflags in ldflags:
|
||||
print('Invalid ldflags: %s; Expected: %s' % (ldflags, expected_ldflags))
|
||||
exit(1)
|
||||
else:
|
||||
expected_openssl_includes = '-I/usr/local/opt/openssl@1.1/include'
|
||||
expected_openssl_ldflags ='-L/usr/local/opt/openssl@1.1/lib'
|
||||
expected_openssl_includes = '-I/usr/local/opt/openssl@3/include'
|
||||
expected_openssl_ldflags ='-L/usr/local/opt/openssl@3/lib'
|
||||
|
||||
openssl_includes = sysconfig.get_config_var('OPENSSL_INCLUDES')
|
||||
openssl_ldflags = sysconfig.get_config_var('OPENSSL_LDFLAGS')
|
||||
|
Reference in New Issue
Block a user