summaryrefslogtreecommitdiff
path: root/solenv/gbuild/Executable.mk
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2013-06-17 14:39:33 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2013-06-17 14:39:33 +0200
commit96204ecf7418eb1e94992869c3c1439359004adf (patch)
treea9a54b05968569a409900a25b2230b157eb46286 /solenv/gbuild/Executable.mk
parentcab3e22562bcb5967f269524e1f9e285688bb121 (diff)
do not copy executables into instdir yet (by default)
It causes some weird problems with solenv/bin/linkoo. Change-Id: Ic1613394ec3f0fe508ca813c2600f9bc5439dce7
Diffstat (limited to 'solenv/gbuild/Executable.mk')
-rw-r--r--solenv/gbuild/Executable.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/solenv/gbuild/Executable.mk b/solenv/gbuild/Executable.mk
index 7611ea3b0475..d616e1ccaced 100644
--- a/solenv/gbuild/Executable.mk
+++ b/solenv/gbuild/Executable.mk
@@ -70,7 +70,9 @@ $(call gb_Executable_get_clean_target,$(1)) : $(call gb_LinkTarget_get_clean_tar
$(call gb_Executable_get_clean_target,$(1)) : AUXTARGETS := $(call gb_Executable_get_install_target,$(1))
$(call gb_Executable_Executable_platform,$(1),$(2))
+ifneq ($(gb_RUNNABLE_INSTDIR),)
$(call gb_Helper_install,Executable,$(1),$(call gb_LinkTarget_get_target,$(2)))
+endif
$$(eval $$(call gb_Module_register_target,$(call gb_Executable_get_target,$(1)),$(call gb_Executable_get_clean_target,$(1))))
$(call gb_Helper_make_userfriendly_targets,$(1),Executable)
$(call gb_Deliver_add_deliverable,$(call gb_Executable_get_target,$(1)),$(call gb_LinkTarget_get_target,$(2)),$(1))