diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-11-17 00:36:29 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-11-17 00:45:12 +0100 |
commit | 7728967fecb9682e1cfaf385827e600a80ac0ed6 (patch) | |
tree | 40085f15225941f4040a12ea6ca78d4ff6fbf4f1 | |
parent | 8e5ea6dcbf80d2969f15cd947933f672c405ddb5 (diff) |
RepositoryExternal.mk: add gb_ExternalProject__use_expat
Change-Id: I4cb6417ede15253de1815b3f58dd320ab5aee296
-rw-r--r-- | RepositoryExternal.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index 20c9ca613174..d6c6fca46c07 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -283,6 +283,8 @@ $(call gb_LinkTarget_add_libs,$(1),-lexpat) endef +gb_ExternalProject__use_expat := + else # !SYSTEM_EXPAT $(eval $(call gb_Helper_register_static_libraries,PLAINLIBS, \ @@ -304,6 +306,12 @@ $(call gb_LinkTarget_use_static_libraries,$(1),\ endef +define gb_ExternalProject__use_expat +$(call gb_ExternalProject_use_package,$(1),expat_inc) +$(call gb_ExternalProject_use_static_libraries,$(1),expat) + +endef + endif # SYSTEM_EXPAT define gb_LinkTarget__use_expat_utf8 |