perl: perlmod.mk: use 'install' for host binaries
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Wed, 11 Aug 2021 13:57:23 +0000 (10:57 -0300)
committerRosen Penev <rosenp@gmail.com>
Sat, 14 Aug 2021 20:45:07 +0000 (13:45 -0700)
commit67f403b5e6afba14cbf6742833426faad796bfd9
treebde01d86f301c8cd2518a6c1ccb6d3d5b475f71f
parent6c125303461b776768521ff8b72fab8e062fa35e
perl: perlmod.mk: use 'install' for host binaries

When installing a host perl module, the host perl binary in the staging
dir is replaced by using 'cp'.  However, if the binary is running in a
parallel job, cp will fail with a text file busy error.  Use
$(INSTALL_BIN), which unliks the file first to avoid the error.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 19c7496648cb25500ca7007a7c1578a426c23a09)
lang/perl/perlmod.mk