Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set the OPENSSL_STATIC env var for Android builds #5784

Merged
merged 1 commit into from Apr 22, 2015
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Set the OPENSSL_STATIC env var for Android builds

Required by the latest version of the openssl-sys build script. Fixes #5145.
  • Loading branch information
mbrubeck committed Apr 22, 2015
commit b4b828260c2948a3baaac67e22556c06c2821e25
@@ -139,6 +139,7 @@ def build(self, target=None, release=False, jobs=None, android=None,
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,
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.