mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Changed the openssl url and bumped the version. Refactored the openssl.sh script to avoid version duplication in the code.
This commit is contained in:
parent
71eb672923
commit
a02c074ba9
3 changed files with 9 additions and 8 deletions
|
@ -247,6 +247,7 @@ class MachCommands(CommandBase):
|
|||
|
||||
if android:
|
||||
# Build OpenSSL for android
|
||||
env["OPENSSL_VERSION"] = "1.0.2k"
|
||||
make_cmd = ["make"]
|
||||
if jobs is not None:
|
||||
make_cmd += ["-j" + jobs]
|
||||
|
@ -264,7 +265,7 @@ class MachCommands(CommandBase):
|
|||
verbose=verbose)
|
||||
if status:
|
||||
return status
|
||||
openssl_dir = path.join(openssl_dir, "openssl-1.0.1t")
|
||||
openssl_dir = path.join(openssl_dir, "openssl-{}".format(env["OPENSSL_VERSION"]))
|
||||
env['OPENSSL_LIB_DIR'] = openssl_dir
|
||||
env['OPENSSL_INCLUDE_DIR'] = path.join(openssl_dir, "include")
|
||||
env['OPENSSL_STATIC'] = 'TRUE'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue