Skip to content

Commit 0d40f5a

Browse files
committed
build: Allow providing extra libs for Boost Chrono
Pass BOOST_CHRONO_EXTRALIBS to give extra dependency libraries for Boost Chrono which are not auto-detected.
1 parent e4b991e commit 0d40f5a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

configure.ac

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,9 @@ dnl after 1.56.
373373
dnl If neither is available, abort.
374374
dnl If sleep_for is used, boost_chrono becomes a requirement.
375375
if test x$ax_cv_boost_chrono = xyes; then
376+
dnl Allow passing extra needed dependency libraries for boost-chrono from static gitian build
377+
BOOST_CHRONO_LIB="$BOOST_CHRONO_LIB $BOOST_CHRONO_EXTRALIBS"
378+
376379
TEMP_LIBS="$LIBS"
377380
LIBS="$LIBS $BOOST_LIBS $BOOST_CHRONO_LIB"
378381
AC_TRY_LINK([

0 commit comments

Comments
 (0)