diff options
author | Rene Engelhard <rene@rene-engelhard.de> | 2022-02-20 12:13:19 +0100 |
---|---|---|
committer | René Engelhard <rene@debian.org> | 2022-02-22 15:53:59 +0100 |
commit | 19b0ba55ea7058b35b13f9e2ae0e8d4add374eef (patch) | |
tree | 4f0abe9eda066425e3346c904e7942a512c26d9f /RepositoryExternal.mk | |
parent | 2ac21c47d0ca4993e828d1cad977942d340021c6 (diff) |
add system-dragonbox
Missed in 9eb9083ff2fdaeb96399a0830a4394de4e29ef64
Change-Id: I1d001b39f55c8504a76bfbdadd1423b414adc9c5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130209
Tested-by: René Engelhard <rene@debian.org>
Reviewed-by: René Engelhard <rene@debian.org>
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r-- | RepositoryExternal.mk | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index 779e318ebc49..f63c95c142ea 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -4132,15 +4132,27 @@ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo,\ )) endif +ifneq ($(SYSTEM_DRAGONBOX),) + +define gb_LinkTarget__use_dragonbox +$(call gb_LinkTarget_set_include,$(1),\ + $$(INCLUDE) \ + $$(DRAGONBOX_CFLAGS) \ +) +endef + +else + define gb_LinkTarget__use_dragonbox $(call gb_LinkTarget_use_unpacked,$(1),dragonbox) $(call gb_LinkTarget_set_include,$(1),\ -I$(call gb_UnpackedTarball_get_dir,dragonbox/include/)\ $$(INCLUDE) \ ) - endef +endif + define gb_LinkTarget__use_dtoa $(call gb_LinkTarget_use_unpacked,$(1),dtoa) $(call gb_LinkTarget_set_include,$(1),\ |