summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules/build-perl.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/build-perl.mk b/rules/build-perl.mk
index 46cf0531e6..b943e16621 100644
--- a/rules/build-perl.mk
+++ b/rules/build-perl.mk
@@ -29,6 +29,7 @@ $$(error $1_$2_PROGNAME is not set)
endif
ifneq "$$($1_$2_PROG)" ""
$$(error $1_$2_PROG is set)
+endif
$1_$2_PROG = $$($1_$2_PROGNAME)
ifneq "$$($$($1_$2_PROG)_INPLACE)" ""
@@ -39,7 +40,6 @@ $$($1_$2_PROG)_INPLACE = $$(INPLACE_TOPDIR)/$$($1_$2_PROG)
else
$$($1_$2_PROG)_INPLACE = $$(INPLACE_BIN)/$$($1_$2_PROG)
endif
-endif
$1_$2_INPLACE = $$($$($1_$2_PROG)_INPLACE)