Vendors OpenSSL 3.4.1 as static libraries (libcrypto.a, libssl.a) for openpilot, following the same pattern as other vendored packages. Uses module name openssl3 to avoid case-insensitive filesystem conflict with pyOpenSSL's OpenSSL module on macOS. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
12 lines
423 B
Python
12 lines
423 B
Python
import os
|
|
|
|
DIR = os.path.join(os.path.dirname(__file__), "install")
|
|
LIB_DIR = os.path.join(DIR, "lib")
|
|
INCLUDE_DIR = os.path.join(DIR, "include")
|
|
|
|
|
|
def smoketest():
|
|
assert os.path.isfile(os.path.join(LIB_DIR, "libcrypto.a")), "libcrypto.a not found"
|
|
assert os.path.isfile(os.path.join(LIB_DIR, "libssl.a")), "libssl.a not found"
|
|
assert os.path.isdir(os.path.join(INCLUDE_DIR, "openssl")), "openssl headers not found"
|