Actually capture libcrypto autoconf results

Also infer lib path not just include path, and set rpath if not from /usr.
Also need libcrypto for test_rand.
This commit is contained in:
Viktor Dukhovni
2016-05-07 02:36:34 -04:00
parent 131c8dd30e
commit 9393d53538
3 changed files with 11 additions and 1 deletions

View File

@@ -99,7 +99,7 @@ check_SCRIPTS = $(SCRIPT_TESTS)
TESTS = $(PROGRAM_TESTS) $(SCRIPT_TESTS)
LDADD = $(lib_LTLIBRARIES) $(LIB_roken)
LDADD = $(lib_LTLIBRARIES) $(LIB_roken) $(LIB_openssl_crypto)
test_rand_LDADD = $(LDADD) -lm
libhcrypto_la_SOURCES = \