diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index 64e48acee186..9c773f7859d5 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -272,14 +272,14 @@ endef endif # SYSTEM_GLEW -$(eval $(call gb_Helper_register_packages_for_install,ooo,\ - liborcus \ -)) - -ifneq ($(SYSTEM_GLEW),) +ifneq ($(SYSTEM_GLYPHY),) else # !SYSTEM_GLYPHY +$(eval $(call gb_Helper_register_packages_for_install,ooo,\ + glyphy \ +)) + define gb_LinkTarget__use_glyphy $(call gb_LinkTarget_use_package,$(1),glyphy) @@ -294,7 +294,7 @@ $(call gb_LinkTarget_add_libs,$(1),\ endef -endif GLYPHY +endif # SYSTEM_GLYPHY define gb_LinkTarget__use_iconv $(call gb_LinkTarget_add_libs,$(1),-liconv) diff --git a/config_host.mk.in b/config_host.mk.in index 26200a08d60d..5ed3043c59e2 100644 --- a/config_host.mk.in +++ b/config_host.mk.in @@ -525,6 +525,7 @@ export SYSTEM_GENCCODE=@SYSTEM_GENCCODE@ export SYSTEM_GENCMN=@SYSTEM_GENCMN@ export SYSTEM_GLEW=@SYSTEM_GLEW@ export SYSTEM_GLM=@SYSTEM_GLM@ +export SYSTEM_GLYPHY=@SYSTEM_GLYPHY@ export SYSTEM_GRAPHITE=@SYSTEM_GRAPHITE@ export SYSTEM_HARFBUZZ=@SYSTEM_HARFBUZZ@ export SYSTEM_HSQLDB=@SYSTEM_HSQLDB@ diff --git a/external/Module_external.mk b/external/Module_external.mk index 9daf548c4ec2..7c78c7df8c65 100644 --- a/external/Module_external.mk +++ b/external/Module_external.mk @@ -45,6 +45,7 @@ $(eval $(call gb_Module_add_moduledirs,external,\ $(call gb_Helper_optional,FREETYPE,freetype) \ $(call gb_Helper_optional,GLEW,glew) \ $(call gb_Helper_optional,GLM,glm) \ + $(call gb_Helper_optional,GLYPHY,glyphy) \ $(call gb_Helper_optional,GRAPHITE,graphite) \ $(call gb_Helper_optional,HARFBUZZ,harfbuzz) \ $(call gb_Helper_optional,HSQLDB,hsqldb) \ diff --git a/external/glyphy/Module_glyphy.mk b/external/glyphy/Module_glyphy.mk index 084c5425b6dc..6228bba24de7 100644 --- a/external/glyphy/Module_glyphy.mk +++ b/external/glyphy/Module_glyphy.mk @@ -9,7 +9,7 @@ $(eval $(call gb_Module_Module,glyphy)) -$(eval $(call gb_Module_add_targets,liborcus,\ +$(eval $(call gb_Module_add_targets,glyphy,\ UnpackedTarball_glyphy \ ))