mirror of https://github.com/getdnsapi/getdns.git
configure problem with getdns-0.5.1 on OpenBSD
Sorry for not using "github" to report a problem but I don't have an account there... Anyway, it seems the order of the libraries ssl and crypto is wrong: with -lcrypto -lssl configure fails to find ub_fd(): : undefined reference to `SRP_Calc_A' changing it to -lssl -lcrypto resolves the problem (and matches the order elsewhere, e.g., unbound).
This commit is contained in:
parent
10a28817d0
commit
93f9f4c7d3
|
@ -48,8 +48,8 @@ AC_DEFUN([ACX_SSL_CHECKS], [
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_MSG_CHECKING([for HMAC_CTX_init in -lcrypto])
|
AC_MSG_CHECKING([for HMAC_CTX_init in -lcrypto])
|
||||||
LIBS="$LIBS -lcrypto -lssl"
|
LIBS="$LIBS -lssl -lcrypto"
|
||||||
LIBSSL_LIBS="$LIBSSL_LIBS -lcrypto -lssl"
|
LIBSSL_LIBS="$LIBSSL_LIBS -lssl -lcrypto"
|
||||||
AC_TRY_LINK(, [
|
AC_TRY_LINK(, [
|
||||||
int HMAC_CTX_init(void);
|
int HMAC_CTX_init(void);
|
||||||
(void)HMAC_CTX_init();
|
(void)HMAC_CTX_init();
|
||||||
|
|
Loading…
Reference in New Issue