summaryrefslogtreecommitdiff
path: root/RepositoryExternal.mk
diff options
context:
space:
mode:
authorRene Engelhard <rene@debian.org>2023-06-17 14:38:27 +0200
committerTomaž Vajngerl <quikee@gmail.com>2023-06-18 13:31:37 +0200
commitcd9afc213d768b9870c81c580fbb00282c0cf1c4 (patch)
tree686730cd5d219031d7747b9a636fb023666ac5a7 /RepositoryExternal.mk
parentdc03f59374d4fc74dd44ddedc903bb9c00a74bb7 (diff)
add --with-system-frozen
Change-Id: Ia09254cab5696fa0a3530fcafa5b48acca631ff2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153208 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r--RepositoryExternal.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index 631466f0001a..b105e1d755d0 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -4298,6 +4298,14 @@ endif # ENABLE_ZXING
endif # SYSTEM_ZXING
+ifneq ($(SYSTEM_FROZEN),)
+define gb_LinkTarget__use_frozen
+$(call gb_LinkTarget_set_include,$(1),\
+ $$(INCLUDE) \
+ $(FROZEN_CFLAGS)
+)
+endef
+else
define gb_LinkTarget__use_frozen
$(call gb_LinkTarget_use_unpacked,$(1),frozen)
$(call gb_LinkTarget_set_include,$(1),\
@@ -4305,6 +4313,6 @@ $(call gb_LinkTarget_set_include,$(1),\
$$(INCLUDE) \
)
endef
-
+endif
# vim: set noet sw=4 ts=4: