Inplace programs depend on their shell wrappers
authorIan Lynagh <igloo@earth.li>
Tue, 27 Apr 2010 16:00:38 +0000 (16:00 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 27 Apr 2010 16:00:38 +0000 (16:00 +0000)
rules/shell-wrapper.mk

index d2ff84d..5df9ff2 100644 (file)
@@ -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)/$$<"'            >> $$@