use correct link order for app and tests

ok beck@ guenther@
This commit is contained in:
Brent Cook 2014-07-21 05:40:28 -05:00
parent 8a44ab84f0
commit 4335a49f51
2 changed files with 3 additions and 3 deletions

View File

@ -4,8 +4,8 @@ bin_PROGRAMS = openssl
openssl_CFLAGS = $(USER_CFLAGS)
openssl_LDADD = $(PLATFORM_LDADD)
openssl_LDADD += $(top_builddir)/crypto/libcrypto.la
openssl_LDADD += $(top_builddir)/ssl/libssl.la
openssl_LDADD += $(top_builddir)/crypto/libcrypto.la
openssl_SOURCES =
noinst_HEADERS =

View File

@ -309,8 +309,8 @@ test_excludes=(biotest aeadtest evptest pq_test ssltest arc4randomforktest fork_
fi
echo "check_PROGRAMS += $TEST" >> Makefile.am
echo "${TEST}_SOURCES = $i" >> Makefile.am
echo "${TEST}_LDADD = \$(top_builddir)/crypto/libcrypto.la" >> Makefile.am
echo "${TEST}_LDADD += \$(top_builddir)/ssl/libssl.la" >> Makefile.am
echo "${TEST}_LDADD = \$(top_builddir)/ssl/libssl.la" >> Makefile.am
echo "${TEST}_LDADD += \$(top_builddir)/crypto/libcrypto.la" >> Makefile.am
done
)
$CP $libcrypto_regress/evp/evptests.txt tests