diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-03-14 12:45:24 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-03-14 12:53:41 +0100 |
commit | 2f4d160bd6f4730c1597c11757efffc4173a17bf (patch) | |
tree | c57441962dff71aeecd92e12f1cff0f35405b4a8 | |
parent | safer order of replacement (diff) | |
download | core-2f4d160bd6f4730c1597c11757efffc4173a17bf.tar.gz core-2f4d160bd6f4730c1597c11757efffc4173a17bf.zip |
Libcdr and libvisio need zlib
Change-Id: Ie48c7305e7acca17d3c488a76e8fc47984c51679
-rw-r--r-- | RepositoryExternal.mk | 8 | ||||
-rw-r--r-- | libcdr/ExternalProject_libcdr.mk | 1 | ||||
-rw-r--r-- | libvisio/ExternalProject_libvisio.mk | 1 |
3 files changed, 10 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index 6a15af5c46c6..a7042b127d96 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -298,6 +298,8 @@ define gb_LinkTarget__use_zlib_x64 endef +gb_ExternalProject__use_zlib := + else # !SYSTEM_ZLIB $(eval $(call gb_Helper_register_static_libraries,PLAINLIBS, \ @@ -333,6 +335,12 @@ $(call gb_LinkTarget__use_zlib_multiarch,$(1),zlib_x64) endef +define gb_ExternalProject__use_zlib +$(call gb_ExternalProject_use_package,$(1),zlib_inc) +$(call gb_ExternalProject_use_static_libraries,$(1),zlib) + +endef + endif # SYSTEM_ZLIB diff --git a/libcdr/ExternalProject_libcdr.mk b/libcdr/ExternalProject_libcdr.mk index 9bd0cea0ef6e..431b9b497244 100644 --- a/libcdr/ExternalProject_libcdr.mk +++ b/libcdr/ExternalProject_libcdr.mk @@ -20,6 +20,7 @@ $(eval $(call gb_ExternalProject_use_externals,libcdr,\ lcms2 \ wpd \ wpg \ + zlib \ )) ifeq ($(OS)$(COM),WNTMSC) diff --git a/libvisio/ExternalProject_libvisio.mk b/libvisio/ExternalProject_libvisio.mk index 2095e614e4ef..30cffae886bc 100644 --- a/libvisio/ExternalProject_libvisio.mk +++ b/libvisio/ExternalProject_libvisio.mk @@ -22,6 +22,7 @@ $(eval $(call gb_ExternalProject_use_externals,libvisio,\ wpd \ wpg \ libxml2 \ + zlib \ )) $(call gb_ExternalProject_get_state_target,libvisio,build) : |