enable -lcrypto -lssl with all test programs directly.

This removes the need to specify each one individually.

ok doug@
This commit is contained in:
Brent Cook 2014-10-29 15:46:20 -05:00
parent ccaf9cdd9c
commit 72c1e56b38
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,9 @@ include $(top_srcdir)/Makefile.am.common
AM_CPPFLAGS += -I $(top_srcdir)/crypto/modes
AM_CPPFLAGS += -I $(top_srcdir)/crypto/asn1
LDADD = $(top_builddir)/ssl/libssl.la
LDADD += $(top_builddir)/crypto/libcrypto.la
TESTS =
check_PROGRAMS =
EXTRA_DIST =

View File

@ -318,8 +318,6 @@ $CP $libc_src/string/memmem.c tests/
fi
echo "check_PROGRAMS += $TEST" >> Makefile.am
echo "${TEST}_SOURCES = $i" >> Makefile.am
echo "${TEST}_LDADD = \$(top_builddir)/ssl/libssl.la" >> Makefile.am
echo "${TEST}_LDADD += \$(top_builddir)/crypto/libcrypto.la" >> Makefile.am
done
echo "if NO_MEMMEM" >> Makefile.am
echo "explicit_bzero_SOURCES += memmem.c" >> Makefile.am