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)
committerEneas U de Queiroz <cotequeiroz@gmail.com>
Wed, 11 Aug 2021 19:59:20 +0000 (16:59 -0300)
commit19c7496648cb25500ca7007a7c1578a426c23a09
tree27f9ffc931549b925a6108cd24f222f2dd747242
parent0e4e08ff24916a460b017323fa7a56f8677407ae
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>
lang/perl/perlmod.mk