From: Andre Pinto Date: Fri, 24 Jul 2015 00:15:26 +0000 (-0700) Subject: Fix oss build X-Git-Tag: v0.52.0~7 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2f0b78348106ffb7d2aff42ace4b09c420b46008;p=folly.git Fix oss build Summary: Add program_options to fix oss build Reviewed By: @tudor Differential Revision: D2274863 --- diff --git a/folly/configure.ac b/folly/configure.ac index 97437f63..fad024da 100644 --- a/folly/configure.ac +++ b/folly/configure.ac @@ -395,7 +395,8 @@ AC_CHECK_HEADER([lzma.h], AC_CHECK_LIB([lzma], [main])) # Include directory that contains "folly" so #include works AM_CPPFLAGS='-I$(top_srcdir)/..' AM_CPPFLAGS="$AM_CPPFLAGS $BOOST_CPPFLAGS" -AM_LDFLAGS="$AM_LDFLAGS $BOOST_CONTEXT_LIB $BOOST_THREAD_LIB $BOOST_FILESYSTEM_LIB" +AM_LDFLAGS="$AM_LDFLAGS $BOOST_CONTEXT_LIB $BOOST_PROGRAM_OPTIONS_LIB" +AM_LDFLAGS="$AM_LDFLAGS $BOOST_THREAD_LIB $BOOST_FILESYSTEM_LIB" AM_LDFLAGS="$AM_LDFLAGS $BOOST_SYSTEM_LIB $BOOST_REGEX_LIB -lpthread" AC_SUBST([AM_CPPFLAGS])