]> git.pld-linux.org Git - packages/perl.git/commitdiff
- use LD_PRELOAD in runperl to ensure new libperl is used for perl.prov auto/ac/perl-5_8_5-2
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 2 Aug 2004 19:13:04 +0000 (19:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl.spec -> 1.282

perl.spec

index cb7a0b5ec8147e6a2fd2c035f091e7678e3d75e2..e517c3901b36ea426bafb21dc8179140ca99983d 100644 (file)
--- a/perl.spec
+++ b/perl.spec
@@ -694,9 +694,9 @@ rm -f uconfig.h
 
 cat > runperl <<EOF
 #!/bin/sh
-LD_LIBRARY_PATH="%{_builddir}/%{name}-%{version}" \
-       PERL5LIB="%{buildroot}%{perl_privlib}:%{buildroot}%{perl_archlib}" \
-       exec %{buildroot}%{_bindir}/perl \$*
+LD_PRELOAD="%{_builddir}/%{name}-%{version}/libperl.so.%{_abi}" \\
+PERL5LIB="%{buildroot}%{perl_privlib}:%{buildroot}%{perl_archlib}" \\
+exec %{buildroot}%{_bindir}/perl \$*
 EOF
 chmod a+x runperl
 
This page took 0.165759 seconds and 4 git commands to generate.