Kaydet (Commit) 472a7db1 authored tarafından Matúš Kukan's avatar Matúš Kukan

register hunspell as static library

üst e71d6df4
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment