* scripts/dpkg-gensymbols.pl: Add a new -I<file> option to force
the usage of a specific file as basis for the generated symbols
file.
+ * scripts/Dpkg/Shlibs.pm (find_library): Canonicalize paths before
+ returning them as bad RPATH can lead to non-canonical paths
+ causing us troubles in dpkg-shlibdeps.
2007-11-24 Guillem Jover <guillem@debian.org>
dpkg (1.14.12) UNRELEASED; urgency=low
- *
+ [ Raphael Hertzog ]
+ * Dpkg::Shlibs::find_library() now returns canonicalized paths.
-- Guillem Jover <guillem@debian.org> Sat, 24 Nov 2007 07:38:13 +0200
use base qw(Exporter);
our @EXPORT_OK = qw(@librarypaths find_library);
+use File::Spec;
+
use Dpkg::Gettext;
use Dpkg::ErrorHandling qw(syserr);
use Dpkg::Shlibs::Objdump;
if (-e "$root$dir/$lib") {
my $libformat = Dpkg::Shlibs::Objdump::get_format("$root$dir/$lib");
if ($format eq $libformat) {
- return "$root$dir/$lib";
+ return File::Spec->canonpath("$root$dir/$lib");
}
}
}