diff mbox

[2/3] DEPENDENCIES: update how to build openssl

Message ID 1408881356-27313-3-git-send-email-anders.roxell@linaro.org
State Accepted
Commit c21402364ee8b3b69c446829920dba7d2272c842
Headers show

Commit Message

Anders Roxell Aug. 24, 2014, 11:55 a.m. UTC
Building against a statically linked openssl fails when using
--with-openssl-path when cross-compiling and using a root-fs that
doesn't contain statically linked versions of libc-libs

Reported-by: Stuart Haslam <stuart.haslam@arm.com>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 DEPENDENCIES | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/DEPENDENCIES b/DEPENDENCIES
index 53233ff..2654ae0 100644
--- a/DEPENDENCIES
+++ b/DEPENDENCIES
@@ -52,13 +52,13 @@  Prerequisites for building the OpenDataPlane (ODP) API
 
    # Build and install 32 bit version of openssl
    $ ./Configure linux-generic32 --cross-compile-prefix=arm-linux-gnueabihf- \
-     --prefix=/home/user/src/install-openssl
+     --prefix=/home/user/src/install-openssl shared
    $ make
    $ make install
 
    # Build and install 64 bit version of openssl
    $ ./Configure linux-aarch64 --cross-compile-prefix=aarch64-linux-gnu- \
-     --prefix=/home/user/src/install-openssl-aarch64
+     --prefix=/home/user/src/install-openssl-aarch64 shared
    $ make
    $ make install