From: Dave Watson Date: Fri, 31 Oct 2014 17:37:55 +0000 (-0700) Subject: fix build X-Git-Tag: v0.22.0~209 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f7e3adf5719c326b6e197878f8e8f3fc9a17375e;p=folly.git fix build Summary: add missing ssl dep Test Plan: build it Reviewed By: dcsommer@fb.com Subscribers: doug, njormrod, folly-diffs@ FB internal diff: D1652234 Signature: t1:1652234:1414778507:4504ea06c3076e0cdfa7772166cf48bc564c9076 --- diff --git a/folly/Makefile.am b/folly/Makefile.am index dde8c285..99e237a7 100644 --- a/folly/Makefile.am +++ b/folly/Makefile.am @@ -322,7 +322,7 @@ endif libfollybase_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION) libfolly_la_LIBADD = libfollybase.la -libfolly_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION) +libfolly_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LT_VERSION) -lssl FingerprintTables.cpp: generate_fingerprint_tables ./generate_fingerprint_tables diff --git a/folly/configure.ac b/folly/configure.ac index 8b8ddcb3..cbdb5f2e 100644 --- a/folly/configure.ac +++ b/folly/configure.ac @@ -58,6 +58,11 @@ AC_CHECK_LIB([glog],[openlog],[],[AC_MSG_ERROR( AC_CHECK_LIB([gflags],[getenv],[],[AC_MSG_ERROR( [Please install google-gflags library])]) +AC_CHECK_LIB(ssl, + SSL_ctrl, + [], + [AC_MSG_ERROR(["Error: libssl required"])]) + # check for boost libs AX_BOOST_BASE([1.20.0], [], [AC_MSG_ERROR( [Please install boost >= 1.20.0 (thread, regex, and system)])])