diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2011-12-27 00:16:36 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2011-12-27 00:31:47 +0100 |
commit | 472a7db1ef118147d949b13c66bb86411dbc7a75 (patch) | |
tree | 85c1d9c8ec0bfddd0f03d564b1bb86a5b0cc518d /RepositoryExternal.mk | |
parent | Related: fdo#43380 fix parsing of the \cf RTF token (diff) | |
download | core-472a7db1ef118147d949b13c66bb86411dbc7a75.tar.gz core-472a7db1ef118147d949b13c66bb86411dbc7a75.zip |
register hunspell as static library
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r-- | RepositoryExternal.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index 6b9ebc0ccb4a..ac2a95bd298d 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 |