From c5395a4c3fdb948f50a97fcd07359bd1f358c50c Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Tue, 4 Apr 2017 14:40:58 +0200 Subject: [PATCH] change installarchlib to vendorarch installarchlib is /usr/lib//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//perl5/5.24 which is the correct location for installing arch libraries (we already use this in librados2-perl) Signed-off-by: Dominik Csapak --- data/PVE/Makefile.am | 2 +- data/configure.ac | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/PVE/Makefile.am b/data/PVE/Makefile.am index d2508fa..6a38431 100644 --- a/data/PVE/Makefile.am +++ b/data/PVE/Makefile.am @@ -8,7 +8,7 @@ AM_CFLAGS = -shared -fPIC -Wl,-z,relro -Wall -Werror -Wno-strict-aliasing $(PERL 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 diff --git a/data/configure.ac b/data/configure.ac index b4cf2e2..b113f5d 100644 --- a/data/configure.ac +++ b/data/configure.ac @@ -67,10 +67,10 @@ AC_SUBST(PERL) 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 -- 2.39.5