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 1b50ea11..8f3e7a7a 100755
--- a/dh_makeshlibs
+++ b/dh_makeshlibs
@@ -19,7 +19,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
$need_ldconfig=1;
# The second evil regexp is for db3, whose author should
# be shot.
- if (m#.*/(.*)\.so\.(\d*)\.?# || m#.*/(.*)-(\S+)\.so$#) {
+ if (m#.*/([^/]*)\.so\.(\d*)\.?# || m#.*/([^/]*)-([^\s/]+)\.so$#) {
$library = $1;
$major = $2;
}