Browse Source

don't assume libtls has linker scripts to resolve dependencies

found this testing on OpenBSD itself :)
OPENBSD_5_7
Brent Cook 9 years ago
parent
commit
21d17b2984
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      configure.ac

+ 2
- 1
configure.ac View File

@ -119,7 +119,8 @@ AC_CHECK_FUNCS([arc4random ibuf_open MD5Init SHA512Init])
AC_CHECK_FUNCS([clock_gettime clock_getres])
# check for libtls
AC_SEARCH_LIBS([tls_init],[tls])
AC_SEARCH_LIBS([tls_config_set_ca_mem],[tls],
[LIBS="$LIBS -ltls -lssl -lcrypto"],,[-lssl -lcrypto])
AC_CHECK_FUNCS([tls_config_set_ca_mem])
# Share test results with automake


Loading…
Cancel
Save