fix the open source ssl_test target
authorEric Niebler <eniebler@fb.com>
Wed, 29 Jun 2016 22:40:56 +0000 (15:40 -0700)
committerFacebook Github Bot 3 <facebook-github-bot-3-bot@fb.com>
Wed, 29 Jun 2016 22:53:36 +0000 (15:53 -0700)
Summary: 'make check' is failing since the path to OpenSSLHashTest.cpp is wrong and because ssl_test is not linked to libcrypto.

Reviewed By: mhx

Differential Revision: D3498207

fbshipit-source-id: 0f443d1f1b76c537d211dc148df0cd3fdfb8eead

folly/test/Makefile.am

index 7a39a8209b106a491e66e0e184efca4f1573d879..787821bd877f9325e36d0c32dccc4ebc598ab9ed 100644 (file)
@@ -267,8 +267,8 @@ function_test_LDADD = libfollytestmain.la
 TESTS += function_test
 
 ssl_test_SOURCES = \
-               ../ssl/OpenSSLHashTest.cpp
-ssl_test_LDADD = libfollytestmain.la
+               ../ssl/test/OpenSSLHashTest.cpp
+ssl_test_LDADD = libfollytestmain.la -lcrypto
 TESTS += ssl_test
 
 check_PROGRAMS += $(TESTS)