diff options
Diffstat (limited to 'dh_makeshlibs')
-rwxr-xr-x | dh_makeshlibs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/dh_makeshlibs b/dh_makeshlibs index 66e8b961..7aa52e49 100755 --- a/dh_makeshlibs +++ b/dh_makeshlibs @@ -129,6 +129,8 @@ init(options => { my $objdump=cross_command("objdump"); my $multiarch=dpkg_architecture_value("DEB_HOST_MULTIARCH"); +my $ok=1; + foreach my $package (@{$dh{DOPACKAGES}}) { next if is_udeb($package); @@ -242,8 +244,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) { # own search for symbols files, since that search # is not 100% compatible with debhelper. (For example, # this supports --ignore being used.) - doit("dpkg-gensymbols", "-p$package", "-I$symbols", - "-P$tmp", + $ok = $ok && doit_noerror("dpkg-gensymbols", + "-p$package", "-I$symbols", "-P$tmp", @liblist, @{$dh{U_PARAMS}}); if (-s "$tmp/DEBIAN/symbols" == 0) { @@ -255,6 +257,10 @@ foreach my $package (@{$dh{DOPACKAGES}}) { } } +unless ($ok) { + error "failing due to earlier errors"; +} + =head1 SEE ALSO L<debhelper(7)> |