Verified Commit b380d694 authored by sisbell's avatar sisbell Committed by boklm
Browse files

Bug 28764: OpenSSL Build for Android

parent b5e9b4ad
......@@ -17,6 +17,10 @@ export CC='gcc -m32'
patch -p1 < $rootdir/escape-openssldir.patch
patch -p1 < $rootdir/use-SOURCE_DATE_EPOCH.patch
[% END -%]
# OpenSSL expects the NDK home to include the pre-assembled architecture directory
[% IF c("var/android") -%]
export ANDROID_NDK_HOME=$ANDROID_NDK_HOME/[% c("var/toolchain_arch") %]
[% END -%]
export SOURCE_DATE_EPOCH='[% c("timestamp") %]'
./Configure [% c('var/configure_opts') %]
make
......
......@@ -22,6 +22,9 @@ targets:
osx-x86_64:
var:
configure_opts: --cross-compile-prefix=x86_64-apple-darwin11- darwin64-x86_64-cc enable-ec_nistp_64_gcc_128
android:
var:
configure_opts: CC=clang android-[% c("var/toolchain_arch") %] -no-shared
input_files:
- project: container-image
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment