[pkg-opensc-commit] [pkcs11-helper] 240/253: build: mbedtls: reorder libs
Eric Dorland
eric at moszumanska.debian.org
Fri Jan 6 23:39:24 UTC 2017
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository pkcs11-helper.
commit 2ccb555deeb22586cf0342e79d6e6142cf95c377
Author: Alon Bar-Lev <alon.barlev at gmail.com>
Date: Sun Jun 12 02:19:36 2016 +0300
build: mbedtls: reorder libs
Signed-off-by: Alon Bar-Lev <alon.barlev at gmail.com>
---
configure.ac | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 150a6b2..def3c5b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -359,7 +359,7 @@ AC_ARG_VAR([MBEDTLS_CFLAGS], [C compiler flags for mbed TLS])
AC_ARG_VAR([MBEDTLS_LIBS], [linker flags for mbed TLS])
if test -z "${MBEDTLS_LIBS}"; then
AC_CHECK_LIB(
- [mbedx509],
+ [mbedtls],
[mbedtls_x509_crt_init],
[
AC_CHECK_HEADERS(
@@ -367,7 +367,7 @@ if test -z "${MBEDTLS_LIBS}"; then
,
[AC_MSG_ERROR([Cannot find mbed TLS headers])]
)
- MBEDTLS_LIBS="-lmbedx509 -lmbedtls -lmbedcrypto"
+ MBEDTLS_LIBS="-lmbedtls -lmbedx509 -lmbedcrypto"
have_mbedtls="yes"
],
[AC_CHECK_LIB(
@@ -384,7 +384,7 @@ if test -z "${MBEDTLS_LIBS}"; then
],
[have_mbedtls="no"]
)],
- [-lmbedtls -lmbedcrypto]
+ [-lmbedx509 -lmbedcrypto]
)
else
have_mbedtls="yes"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/pkcs11-helper.git
More information about the pkg-opensc-commit
mailing list