summaryrefslogtreecommitdiff
path: root/dh_makeshlibs
diff options
context:
space:
mode:
Diffstat (limited to 'dh_makeshlibs')
-rwxr-xr-xdh_makeshlibs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_makeshlibs b/dh_makeshlibs
index de29453..1888ee2 100755
--- a/dh_makeshlibs
+++ b/dh_makeshlibs
@@ -94,7 +94,6 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
my $major;
chomp;
- $need_ldconfig=1;
# The second evil regexp is for db3, whose author should
# be shot.
if (m#.*/([^/]*)\.so\.(\d*)\.?# || m#.*/([^/]*)-([^\s/]+)\.so$#) {
@@ -121,6 +120,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
}
if (defined($library) && defined($major) && defined($deps) &&
$library ne '' && $major ne '' && $deps ne '') {
+ $need_ldconfig=1;
# Prevent duplicate lines from entering the file.
my $line="$library $major $deps";
if (! $seen{$line}) {