diff options
author | Peter Foley <pefoley2@verizon.net> | 2012-11-03 13:54:46 -0400 |
---|---|---|
committer | Peter Foley <pefoley2@verizon.net> | 2012-11-03 14:45:45 -0400 |
commit | dd584cb4eaad85d458ee2dc58480ec3ea7a2a311 (patch) | |
tree | 502aeb6555337f15d3fb20768585f7feabae3e2a /RepositoryExternal.mk | |
parent | this should not have been commited (diff) | |
download | core-dd584cb4eaad85d458ee2dc58480ec3ea7a2a311.tar.gz core-dd584cb4eaad85d458ee2dc58480ec3ea7a2a311.zip |
convert hyphen to gbuild
Change-Id: I55b3832128aa096eb44b67a26ec2afeb6c573604
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r-- | RepositoryExternal.mk | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index ca87908748ba..a1fc086a5990 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -336,6 +336,33 @@ $(eval $(call gb_Helper_register_static_libraries,PLAINLIBS, \ )) endif +ifeq ($(SYSTEM_HYPH),YES) + +define gb_LinkTarget__use_hyphen +$(call gb_LinkTarget_add_libs,$(1),$(HYPHEN_LIB)) + +endef + +else # !SYSTEM_HYPH + +$(eval $(call gb_Helper_register_static_libraries,PLAINLIBS, \ + hyphen \ +)) + +define gb_LinkTarget__use_hyphen +$(call gb_LinkTarget_use_unpacked,$(1),hyphen) +$(call gb_LinkTarget_set_include,$(1),\ + -I$(call gb_UnpackedTarball_get_dir,hyphen)\ + $$(INCLUDE) \ +) +$(call gb_LinkTarget_use_static_libraries,$(1),\ + hyphen \ +) + +endef + +endif # SYSTEM_HYPH + ifeq ($(SYSTEM_HUNSPELL),YES) define gb_LinkTarget__use_hunspell |