summaryrefslogtreecommitdiff
path: root/boost/StaticLibrary_boostthread.mk
diff options
context:
space:
mode:
Diffstat (limited to 'boost/StaticLibrary_boostthread.mk')
-rw-r--r--boost/StaticLibrary_boostthread.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/boost/StaticLibrary_boostthread.mk b/boost/StaticLibrary_boostthread.mk
index 9a00cd96c5ff..3aa4859cbcbe 100644
--- a/boost/StaticLibrary_boostthread.mk
+++ b/boost/StaticLibrary_boostthread.mk
@@ -10,7 +10,12 @@
$(eval $(call gb_StaticLibrary_StaticLibrary,boostthread))
$(eval $(call gb_StaticLibrary_set_warnings_not_errors,boostthread))
-
+
+# disable "auto link" "feature" on MSVC
+$(eval $(call gb_StaticLibrary_add_defs,boostthread,\
+ -DBOOST_ALL_NO_LIB \
+))
+
$(eval $(call gb_StaticLibrary_use_unpacked,boostthread,boost))
$(eval $(call gb_StaticLibrary_set_generated_cxx_suffix,boostthread,cpp))