diff options
author | Niels Thykier <niels@thykier.net> | 2019-10-16 19:52:50 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2019-10-16 19:52:50 +0000 |
commit | 52ee21d763e3bd1d6adc2a6183fcf9510151a80d (patch) | |
tree | f232ddbe1a0c58b0cbac94dbc9205448d70e922a /dh_makeshlibs | |
parent | 86f001d464d4e0eb6e57ebc6a0c79dd83e410609 (diff) | |
download | debhelper-52ee21d763e3bd1d6adc2a6183fcf9510151a80d.tar.gz |
dh_makeshlibs: Suggest --no-add-udeb for some cases
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_makeshlibs')
-rwxr-xr-x | dh_makeshlibs | 7 |
1 files changed, 7 insertions, 0 deletions
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<not> 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<params> Pass I<params> to L<dpkg-gensymbols(1)>. @@ -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\""); } } |