installarchlib is
/usr/lib/<arch>/perl/5.24
which is only a symlink provided by libperl5.24 and not suited
to install files in it directly
vendorarch is
/usr/lib/<arch>/perl5/5.24
which is the correct location for installing arch libraries
(we already use this in librados2-perl)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
LDADD = $(QB_LIBS)
perlbin_PROGRAMS = IPCC.so
-perlbindir = $(PERL_INSTALLARCHLIB)/auto/PVE/IPCC
+perlbindir = $(PERL_VENDORARCH)/auto/PVE/IPCC
# this require package pve-doc-generator
export NOVIEW=1
PERL_INC="$(perl -MExtUtils::Embed -e perl_inc)"
PERL_VENDORLIB="$(perl -MConfig -e 'print $Config{vendorlibexp}')"
-PERL_INSTALLARCHLIB="$(perl -MConfig -e 'print $Config{installarchlib}')"
+PERL_VENDORARCH="$(perl -MConfig -e 'print $Config{vendorarch}')"
AC_SUBST(PERL_INC)
AC_SUBST(PERL_VENDORLIB)
-AC_SUBST(PERL_INSTALLARCHLIB)
+AC_SUBST(PERL_VENDORARCH)
# Checks for header files.
AC_HEADER_DIRENT