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 1a1ddcc5..9ee80533 100755
--- a/dh_makeshlibs
+++ b/dh_makeshlibs
@@ -171,7 +171,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
complex_doit("echo '$line' >>$tmp/DEBIAN/shlibs");
if (defined($dh{SHLIBS_UDEB}) && $dh{SHLIBS_UDEB} ne '') {
my $udeb_deps = $deps;
- $udeb_deps =~ s/$package/$dh{SHLIBS_UDEB}/e;
+ $udeb_deps =~ s/\Q$package\E/$dh{SHLIBS_UDEB}/e;
$line="udeb: "."$library $major $udeb_deps";
push @udeb_lines, $line;
}