mirror of
https://github.com/servo/servo.git
synced 2025-06-21 15:49:04 +01:00
Set the OPENSSL_STATIC env var for Android builds
Required by the latest version of the openssl-sys build script. Fixes #5145.
This commit is contained in:
parent
a3dafe4999
commit
b4b828260c
1 changed files with 1 additions and 0 deletions
|
@ -139,6 +139,7 @@ class MachCommands(CommandBase):
|
|||
openssl_dir = path.join(self.android_support_dir(), "openssl-1.0.1k")
|
||||
env['OPENSSL_LIB_DIR'] = openssl_dir
|
||||
env['OPENSSL_INCLUDE_DIR'] = path.join(openssl_dir, "include")
|
||||
env['OPENSSL_STATIC'] = 'TRUE'
|
||||
|
||||
status = subprocess.call(
|
||||
["cargo", "build"] + opts,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue