X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dh_shlibdeps;h=0456a2dc588082dcce414de73fea55630379ef79;hb=1d9a72073d0f54f96be2404929a452cdf90c2f6b;hp=f6ae235ee899bf2e3288293bf71d4d8ca7f03cfb;hpb=854f6cec48a550299aa0b7a1d3b7f199b4d3ec9a;p=debhelper.git diff --git a/dh_shlibdeps b/dh_shlibdeps index f6ae235..0456a2d 100755 --- a/dh_shlibdeps +++ b/dh_shlibdeps @@ -2,8 +2,7 @@ # # Find dependancies. Simple dpkg-shlibdeps wrapper. -BEGIN { push @INC, "debian", "/usr/share/debhelper" } -use Dh_Lib; +use Debian::Debhelper::Dh_Lib; init(); foreach $PACKAGE (@{$dh{DOPACKAGES}}) { @@ -29,11 +28,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) { } } - if ($dh{L_PARAMS}) { - $ENV{'LD_LIBRARY_PATH'}=$dh{L_PARAMS} - } - if (@filelist) { - doit("dpkg-shlibdeps","-Tdebian/$EXT\substvars",@{$dh{U_PARAMS}},'-dDepends',@filelist); + doit("dpkg-shlibdeps","-Tdebian/${EXT}substvars",@{$dh{U_PARAMS}},'-dDepends',@filelist); } }