diff mbox

[1/3] configure: fix building using flag "--with-openssl-path"

Message ID 1408881356-27313-2-git-send-email-anders.roxell@linaro.org
State Accepted
Commit 99c87e985a6ca17fc38a697e2034a3786f2e0079
Headers show

Commit Message

Anders Roxell Aug. 24, 2014, 11:55 a.m. UTC
Reported-by: Stuart Haslam <stuart.haslam@arm.com>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/configure.ac b/configure.ac
index 74713a7..df20690 100644
--- a/configure.ac
+++ b/configure.ac
@@ -104,7 +104,7 @@  AC_HELP_STRING([--with-openssl-path=DIR Path to openssl libs and headers],
                [(or in the default path if not specified).]),
 [OPENSSL_PATH=$withval
 AM_CFLAGS="$AM_CFLAGS -I$OPENSSL_PATH/include"
-AM_LDFLAGS="$AM_LDFLAGS -L$OPENSSL_PATH/lib"
+AM_LDFLAGS="$AM_LDFLAGS -L$OPENSSL_PATH/lib -lcrypto"
 ],[
 AC_CHECK_LIB([crypto], [EVP_EncryptInit], [],
              [AC_MSG_FAILURE([can't find openssl crypto lib])])