From 2f0b78348106ffb7d2aff42ace4b09c420b46008 Mon Sep 17 00:00:00 2001 From: Andre Pinto Date: Thu, 23 Jul 2015 17:15:26 -0700 Subject: [PATCH] Fix oss build Summary: Add program_options to fix oss build Reviewed By: @tudor Differential Revision: D2274863 --- folly/configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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]) -- 2.34.1