RepositoryExternal.mk: add gb_ExternalProject__use_expat

Change-Id: I4cb6417ede15253de1815b3f58dd320ab5aee296
This commit is contained in:
Michael Stahl 2012-11-17 00:36:29 +01:00
parent 8e5ea6dcbf
commit 7728967fec

View file

@ -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