diff options
author | joey <joey> | 2001-02-23 22:41:21 +0000 |
---|---|---|
committer | joey <joey> | 2001-02-23 22:41:21 +0000 |
commit | 58a5fcfd24ecc319d4f5cc632d32ef31ef14079e (patch) | |
tree | 9fe026ab2e68895c9442bef9912738c0cfd1c648 /dh_makeshlibs | |
parent | 7d8cbb20a8cfe12fd50cc82b0e52c1ac10b8993b (diff) | |
download | debhelper-58a5fcfd24ecc319d4f5cc632d32ef31ef14079e.tar.gz |
r448: * dh_makeshlibs: only generate call to ldconfig if it really looks like
a given *.so* file is indeed a shared library.
Diffstat (limited to 'dh_makeshlibs')
-rwxr-xr-x | dh_makeshlibs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_makeshlibs b/dh_makeshlibs index de29453c..1888ee2d 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}) { |