diff options
author | David Tardon <dtardon@redhat.com> | 2016-01-13 15:45:17 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2016-01-16 16:24:43 +0100 |
commit | 7d93bb8fcb406773d2dc68b25ab7cee6e114d482 (patch) | |
tree | 9c93a90be3f3fc143675bd17ea71d0b14a9f99d3 /RepositoryExternal.mk | |
parent | 2653ffec08f306f0f3f13fcb95bcedc45aebad1d (diff) |
build liblangtag as shared lib on linux and OS X
Change-Id: I3ae138d1a06d22be42a3cd6f565fba6950208fc6
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r-- | RepositoryExternal.mk | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index f8c2b4a109cd..c5051d163ce1 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -1042,6 +1042,8 @@ $(eval $(call gb_Helper_register_packages_for_install,ooo,\ liblangtag_data \ )) +ifeq ($(COM),MSC) + define gb_LinkTarget__use_liblangtag $(call gb_LinkTarget_set_include,$(1),\ $(LIBLANGTAG_CFLAGS) \ @@ -1052,6 +1054,24 @@ $(call gb_LinkTarget_use_external_project,$(1),langtag) endef +else + +$(eval $(call gb_Helper_register_packages_for_install,ooo,\ + liblangtag \ +)) + +define gb_LinkTarget__use_liblangtag +$(call gb_LinkTarget_set_include,$(1),\ + $(LIBLANGTAG_CFLAGS) \ + $$(INCLUDE) \ +) +$(call gb_LinkTarget_add_libs,$(1),$(LIBLANGTAG_LIBS)) +$(call gb_LinkTarget_use_package,$(1),liblangtag) + +endef + +endif # MSC + define gb_ExternalProject__use_liblangtag $(call gb_ExternalProject_use_external_project,$(1),langtag) |