From ba7ba84f075e2502bbac595c0ab28741c0db26ca Mon Sep 17 00:00:00 2001
From: "Wladimir J. van der Laan" <laanwj@gmail.com>
Date: Mon, 27 Aug 2012 21:25:24 +0200
Subject: [PATCH] Add boost chrono lib for windows builds (required for boost
 1.50)

---
 bitcoin-qt.pro           | 1 +
 src/makefile.linux-mingw | 1 +
 src/makefile.mingw       | 1 +
 3 files changed, 3 insertions(+)

diff --git a/bitcoin-qt.pro b/bitcoin-qt.pro
index ae61bbbc3..c8f46538b 100644
--- a/bitcoin-qt.pro
+++ b/bitcoin-qt.pro
@@ -359,6 +359,7 @@ LIBS += -lssl -lcrypto -ldb_cxx$$BDB_LIB_SUFFIX
 # -lgdi32 has to happen after -lcrypto (see  #681)
 windows:LIBS += -lole32 -luuid -lgdi32
 LIBS += -lboost_system$$BOOST_LIB_SUFFIX -lboost_filesystem$$BOOST_LIB_SUFFIX -lboost_program_options$$BOOST_LIB_SUFFIX -lboost_thread$$BOOST_THREAD_LIB_SUFFIX
+windows:LIBS += -lboost_chrono$$BOOST_LIB_SUFFIX
 
 contains(RELEASE, 1) {
     !windows:!macx {
diff --git a/src/makefile.linux-mingw b/src/makefile.linux-mingw
index 93e3fe9aa..625ed6784 100644
--- a/src/makefile.linux-mingw
+++ b/src/makefile.linux-mingw
@@ -25,6 +25,7 @@ LIBS= \
  -l boost_filesystem-mt-s \
  -l boost_program_options-mt-s \
  -l boost_thread_win32-mt-s \
+ -l boost_chrono-mt-s \
  -l db_cxx \
  -l ssl \
  -l crypto
diff --git a/src/makefile.mingw b/src/makefile.mingw
index 58a12e209..9b3d36f35 100644
--- a/src/makefile.mingw
+++ b/src/makefile.mingw
@@ -20,6 +20,7 @@ LIBS= \
  -l boost_filesystem-mgw45-mt-s-1_50 \
  -l boost_program_options-mgw45-mt-s-1_50 \
  -l boost_thread-mgw45-mt-s-1_50 \
+ -l boost_chrono-mgw45-mt-s-1_50 \
  -l db_cxx \
  -l ssl \
  -l crypto