summaryrefslogtreecommitdiff
path: root/rules/build-perl.mk
diff options
context:
space:
mode:
Diffstat (limited to 'rules/build-perl.mk')
-rw-r--r--rules/build-perl.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/rules/build-perl.mk b/rules/build-perl.mk
index 5a1660c0d7..58660fcac3 100644
--- a/rules/build-perl.mk
+++ b/rules/build-perl.mk
@@ -36,7 +36,7 @@ ifneq "$$($$($1_$2_PROG)_INPLACE)" ""
$$(error $$($1_$2_PROG)_INPLACE defined twice)
endif
ifeq "$$($1_$2_TOPDIR)" "YES"
-$$($1_$2_PROG)_INPLACE = $$(INPLACE_TOPDIR)/$$($1_$2_PROG)
+$$($1_$2_PROG)_INPLACE = $$(INPLACE_LIB)/bin/$$($1_$2_PROG)
else
$$($1_$2_PROG)_INPLACE = $$(INPLACE_BIN)/$$($1_$2_PROG)
endif
@@ -66,11 +66,11 @@ $$($1_$2_INPLACE): $1/$2/$$($1_$2_PROG) | $$$$(dir $$$$@)/.
endif
ifeq "$$($1_$2_INSTALL)" "YES"
-# Don't add to INSTALL_BINS or INSTAL_TOPDIR_BINS, because they will get
+# Don't add to INSTALL_BINS or INSTALL_LIBEXECS, because they will get
# stripped when calling 'make install-strip', and stripping a Perl script
# doesn't work.
ifeq "$$($1_$2_TOPDIR)" "YES"
-INSTALL_TOPDIR_SCRIPTS += $$($1_$2_INPLACE)
+INSTALL_LIBEXEC_SCRIPTS += $$($1_$2_INPLACE)
else
INSTALL_SCRIPTS += $$($1_$2_INPLACE)
endif