From 52ee21d763e3bd1d6adc2a6183fcf9510151a80d Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Wed, 16 Oct 2019 19:52:50 +0000 Subject: dh_makeshlibs: Suggest --no-add-udeb for some cases Signed-off-by: Niels Thykier --- dh_makeshlibs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'dh_makeshlibs') diff --git a/dh_makeshlibs b/dh_makeshlibs index 33ed26b1..5ccfac07 100755 --- a/dh_makeshlibs +++ b/dh_makeshlibs @@ -171,6 +171,11 @@ contains libraries B present in the deb package. Do not add any udeb lines to the shlibs file. This can be used to disable the default auto-detection of udebs. +This may be useful in case you do not want a shlibs file at all for the udeb +because no package will depend on it. E.g. because adding a udeb package +for the library was "overkill" and the library is embedded in a different +udeb package. + =item B<--> I Pass I to L. @@ -380,6 +385,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) { warning("Hint: Either add the missing libraries to $package, remove them from $udeb_name, or"); warning("Hint: (if this difference is expected) pass \"--add-udeb=$udeb_name\" to dh_makeshlibs."); warning("Hint: In the latter case, you *may* also need to combine it with \"-p$package\""); + warning("Hint: Alternatively, if you have merged the shared lib package into $udeb_name and it has no"); + warning("Hint: other packages need to know of this library, then use \"--no-add-udeb\""); } } -- cgit v1.2.3