summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--RepositoryExternal.mk5
-rw-r--r--boost/Module_boost.mk10
2 files changed, 14 insertions, 1 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index 9aa0188c7420..c99e4ea1a13f 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -326,8 +326,13 @@ else # !SYSTEM_BOOST
$(eval $(call gb_Helper_register_static_libraries,PLAINLIBS, \
boostdatetime \
+))
+
+ifeq ($(OS),WNT)
+$(eval $(call gb_Helper_register_static_libraries,PLAINLIBS, \
boostthread \
))
+endif
define gb_LinkTarget__use_boostdatetime
$(call gb_LinkTarget_use_static_libraries,$(1),\
diff --git a/boost/Module_boost.mk b/boost/Module_boost.mk
index cca44eacf99e..bb5116321f84 100644
--- a/boost/Module_boost.mk
+++ b/boost/Module_boost.mk
@@ -13,7 +13,15 @@ ifeq ($(SYSTEM_BOOST),NO)
$(eval $(call gb_Module_add_targets,boost,\
StaticLibrary_boostdatetime \
+))
+
+ifeq ($(OS),WNT)
+$(eval $(call gb_Module_add_targets,boost,\
StaticLibrary_boostthread \
+))
+endif
+
+$(eval $(call gb_Module_add_targets,boost,\
UnpackedTarball_boost \
))
@@ -24,6 +32,6 @@ $(eval $(call gb_Module_add_targets,boost,\
))
endif
-endif
+endif # SYSTEM_BOOST
# vim: set noet sw=4 ts=4: