aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/build_commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/servo/build_commands.py')
-rw-r--r--python/servo/build_commands.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py
index e4327d64b9e..ad8e58d04c2 100644
--- a/python/servo/build_commands.py
+++ b/python/servo/build_commands.py
@@ -93,7 +93,9 @@ class MachCommands(CommandBase):
status = subprocess.call(
make_cmd + ["-f", "openssl.makefile"],
env=self.build_env())
- env['OPENSSL_PATH'] = path.join(self.android_support_dir(), "openssl-1.0.1k")
+ 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")
status = subprocess.call(
["cargo", "build"] + opts,