summaryrefslogtreecommitdiff
path: root/sysui
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-07-11 16:07:53 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2018-07-11 16:16:13 +0200
commite50a5477fa5949716c38f0f0d7f7835f8b02b7c8 (patch)
tree5e808eee87845f374578e529bf82319a28acaacb /sysui
parentba2a084d0e133faefadfe329fb1c28aa8c4f2a32 (diff)
sysui: try to fix Mac instsets
7c6ca00e61c42bb7c43cbb7a3203d8bad5c0ed0e broke the Mac build, because the files from infoplist Package have double "/" because of the empty path in the call to gb_Package_add_files. Change-Id: I3a72e8de0a8f2256b068a491231aaaa3d3b00b6e
Diffstat (limited to 'sysui')
-rw-r--r--sysui/Package_infoplist.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysui/Package_infoplist.mk b/sysui/Package_infoplist.mk
index 2051da44b8d5..3f224ae4c157 100644
--- a/sysui/Package_infoplist.mk
+++ b/sysui/Package_infoplist.mk
@@ -9,7 +9,10 @@
$(eval $(call gb_Package_Package,infoplist,$(call gb_CustomTarget_get_workdir,sysui/infoplist)))
-$(eval $(call gb_Package_add_files,infoplist,,\
+# workaround to avoid gb_Package_add_files with empty directory adding extra '/'
+$(eval $(call gb_Package_set_outdir,infoplist,$(INSTDIR)))
+
+$(eval $(call gb_Package_add_files,infoplist,$(PRODUCTNAME_WITHOUT_SPACES).app/Contents,\
PkgInfo \
Info.plist \
))