* debian/rules: include cputable ostable triplettable in
build-tree so that they are available during make check (Dpkg.pm
exports ".." as $pkgdatadir during tests).
+ * scripts/dpkg-shlibdeps.pl: bugfix, avoid unwanted modification
+ of @pkg_shlibs by my_find_library.
2007-10-14 Raphael Hertzog <hertzog@debian.org>
# that provides shlibs file...)
# TODO: we should probably replace that by a cleaner way to look into
# the various temporary build directories...
- foreach my $builddir (map { s{/DEBIAN/shlibs$}{}; $_ } @pkg_shlibs) {
+ my @copy = (@pkg_shlibs);
+ foreach my $builddir (map { s{/DEBIAN/shlibs$}{}; $_ } @copy) {
$file = find_library($lib, \@RPATH, $format, $builddir);
return $file if defined($file);
}