From a078328e91ab9cbd78a92608c1abdc2c57ff9ac5 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Tue, 23 May 2017 22:09:40 -0400 Subject: tdf#107945: prepare for future multi-threading of pivot cache... It's disabled for now. We need to first make the edit engine and a few other places thread-safe before we can parallelize this code. Change-Id: Ie09536964ece42d43f505afc5e2611d469cc5c95 Reviewed-on: https://gerrit.libreoffice.org/38424 Tested-by: Jenkins Reviewed-by: Kohei Yoshida --- sc/Library_sc.mk | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sc/Library_sc.mk') diff --git a/sc/Library_sc.mk b/sc/Library_sc.mk index e72c61546f05..5b7d2fcf9275 100644 --- a/sc/Library_sc.mk +++ b/sc/Library_sc.mk @@ -696,6 +696,12 @@ $(eval $(call gb_Library_add_libs,sc,\ )) endif +ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS))) +$(eval $(call gb_Library_add_libs,sc,\ + -lpthread \ +)) +endif + $(eval $(call gb_SdiTarget_SdiTarget,sc/sdi/scslots,sc/sdi/scalc)) $(eval $(call gb_SdiTarget_set_include,sc/sdi/scslots,\ -- cgit