summaryrefslogtreecommitdiff
path: root/solenv/gbuild/Configuration.mk
diff options
context:
space:
mode:
Diffstat (limited to 'solenv/gbuild/Configuration.mk')
-rw-r--r--solenv/gbuild/Configuration.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/solenv/gbuild/Configuration.mk b/solenv/gbuild/Configuration.mk
index d1d4aeb036c6..a73888e9dfd3 100644
--- a/solenv/gbuild/Configuration.mk
+++ b/solenv/gbuild/Configuration.mk
@@ -512,4 +512,12 @@ $(call gb_Configuration_get_preparation_target,$(1)) : $(call gb_Configuration_g
endef
+# apparently extensions package the XcuMergeTarget directly...
+# trivial convenience function to get the right file:
+ifeq ($(gb_WITH_LANG),)
+gb_XcuFile_for_extension = $(call gb_Configuration__get_source,,$(1))
+else
+gb_XcuFile_for_extension = $(call gb_XcuMergeTarget_get_target,$(1))
+endif
+
# vim: set noet sw=4 ts=4: