summaryrefslogtreecommitdiff
path: root/RepositoryExternal.mk
diff options
context:
space:
mode:
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r--RepositoryExternal.mk12
1 files changed, 8 insertions, 4 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index 86212220f7ef..e986ac3528b8 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -192,6 +192,10 @@ endef
else # !SYSTEM_HUNSPELL
+$(eval $(call gb_Helper_register_static_libraries,PLAINLIBS, \
+ $(if $(filter MSC,$(COM)),libhunspell,hunspell-1.3) \
+))
+
define gb_LinkTarget__use_hunspell
$(call gb_LinkTarget_add_defs,$(1),\
-DHUNSPELL_STATIC \
@@ -200,8 +204,8 @@ $(call gb_LinkTarget_set_include,$(1),\
$$(INCLUDE) \
-I$(OUTDIR)/inc/hunspell \
)
-$(call gb_LinkTarget_add_libs,$(1),\
- $(if $(filter WNT,$(OS)),libhunspell.lib,-lhunspell-1.3) \
+$(call gb_LinkTarget_add_linked_static_libs,$(1),\
+ $(if $(filter MSC,$(COM)),libhunspell,hunspell-1.3) \
)
endef
@@ -224,7 +228,7 @@ else # !SYSTEM_LIBEXTTEXTCAT
ifeq ($(OS),WNT)
$(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO,\
- exttextcat \
+ libexttextcat \
))
else
$(eval $(call gb_Helper_register_static_libraries,PLAINLIBS,\
@@ -235,7 +239,7 @@ endif
define gb_LinkTarget__use_libexttextcat
ifeq ($(OS),WNT)
$(call gb_LinkTarget_add_linked_libs,$(1),\
- exttextcat \
+ libexttextcat \
)
else
$(call gb_LinkTarget_add_linked_static_libs,$(1),\