[pve-devel] applied: [PATCH cluster] buildsys: make perl find the local IPCC.so

Wolfgang Bumiller w.bumiller at proxmox.com
Fri Feb 3 16:28:08 CET 2017


On Tue, Jan 31, 2017 at 11:15:20AM +0100, Wolfgang Bumiller wrote:
> Otherwise the checks depend on an installed version of the
> package.
> ---
> Allows bootstrapping the package on stretch.
> 
>  data/PVE/Makefile.am | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/data/PVE/Makefile.am b/data/PVE/Makefile.am
> index 0d89e63..d2508fa 100644
> --- a/data/PVE/Makefile.am
> +++ b/data/PVE/Makefile.am
> @@ -17,7 +17,7 @@ include /usr/share/pve-doc-generator/pve-doc-generator.mk
>  export PERLLIB=..
>  
>  %.bash-completion:
> -	perl -I.. -T -e "use PVE::CLI::$*; PVE::CLI::$*->generate_bash_completions();" >$@.tmp
> +	LD_LIBRARY_PATH=. perl -I.. -T -e "use PVE::CLI::$*; PVE::CLI::$*->generate_bash_completions();" >$@.tmp
>  	mv $@.tmp $@
>  
>  man1_MANS = pvecm.1
> @@ -37,7 +37,7 @@ apiclass_DATA = API2/ClusterConfig.pm
>  apiclassdir = $(PERL_VENDORLIB)/PVE/API2
>  
>  install-exec-hook: pvecm.bash-completion
> -	perl -I.. -T -e "use PVE::CLI::pvecm; PVE::CLI::pvecm->verify_api();"
> +	LD_LIBRARY_PATH=. perl -I.. -T -e "use PVE::CLI::pvecm; PVE::CLI::pvecm->verify_api();"
>  	install -m 0644 -D pvecm.bash-completion ${DESTDIR}/usr/share/bash-completion/completions/pvecm
>  
>  clean-local:
> -- 
> 2.11.0




More information about the pve-devel mailing list