summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-04-27 16:00:38 +0000
committerIan Lynagh <igloo@earth.li>2010-04-27 16:00:38 +0000
commit1cfd9c70b82517183d86958ea331f60108baea7e (patch)
treee79e1b7ff5eee1b25c554af19a30315e290299e2 /rules
parent7828bf3ea2ea34e7a3a8662f5f621ef706ffee5c (diff)
downloadhaskell-1cfd9c70b82517183d86958ea331f60108baea7e.tar.gz
Inplace programs depend on their shell wrappers
Diffstat (limited to 'rules')
-rw-r--r--rules/shell-wrapper.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/shell-wrapper.mk b/rules/shell-wrapper.mk
index d2ff84dc57..5df9ff2930 100644
--- a/rules/shell-wrapper.mk
+++ b/rules/shell-wrapper.mk
@@ -33,7 +33,7 @@ ifneq "$$($1_$2_INSTALL_INPLACE)" "NO"
all_$1_$2 : $$(INPLACE_BIN)/$$($1_$2_PROG)
$$(INPLACE_BIN)/$$($1_$2_PROG): WRAPPER=$$@
-$$(INPLACE_BIN)/$$($1_$2_PROG): $$($1_$2_INPLACE)
+$$(INPLACE_BIN)/$$($1_$2_PROG): $$($1_$2_INPLACE) $$($1_$2_SHELL_WRAPPER_NAME)
"$$(RM)" $$(RM_OPTS) $$@
echo '#!$$(SHELL)' >> $$@
echo 'executablename="$$(TOP)/$$<"' >> $$@