Specify Boost libpath for Windows
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 29 Oct 2012 12:28:24 +0000 (13:28 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 29 Oct 2012 12:28:27 +0000 (13:28 +0100)
This is because some boost libs depend on other boost libraries
that we don't specify in linker invocation.

win/makefile

index 84ff171..84552b5 100644 (file)
@@ -125,9 +125,10 @@ BOOST_LIB_SUFFIX=$(BOOST_TOOLSET)-$(BOOST_MODEL)-$(BOOST_VERSION).lib
 
 BOOST_DEF = /I"$(BOOST)"
 BOOST_LIB = \
-    "$(BOOST)\lib\libboost_thread-$(BOOST_LIB_SUFFIX)"  \
-    "$(BOOST)\lib\libboost_regex-$(BOOST_LIB_SUFFIX)" \
-    "$(BOOST)\lib\libboost_date_time-$(BOOST_LIB_SUFFIX)" 
+            /LIBPATH:"$(BOOST)\lib" \
+    "libboost_thread-$(BOOST_LIB_SUFFIX)"  \
+    "libboost_regex-$(BOOST_LIB_SUFFIX)" \
+    "libboost_date_time-$(BOOST_LIB_SUFFIX)" 
 
 LIBXSLT_DEF = \
              /I"$(ICONV_DIR)\include" \