diff options
author | Joey Hess <joey@kitenet.net> | 2012-07-05 08:51:40 -0600 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-07-05 08:51:40 -0600 |
commit | dc8af2bf7e978505080c66b4f8b94f8409113ba2 (patch) | |
tree | dc40b6c9b7d0d13e800c01abe2da5dc000e9a1d7 | |
parent | bf6781f75d757e674607a9bafd658e6f11fa3963 (diff) |
dh_shlibdeps: Warn if -V flag is passed, to avoid it accidentially being used here rather than in dh_makeshlibs.
-rw-r--r-- | debian/changelog | 7 | ||||
-rwxr-xr-x | dh_shlibdeps | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 0bb44d67..de98ea7d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +debhelper (9.20120609) UNRELEASED; urgency=low + + * dh_shlibdeps: Warn if -V flag is passed, to avoid it accidentially being + used here rather than in dh_makeshlibs. + + -- Joey Hess <joeyh@debian.org> Thu, 05 Jul 2012 08:51:07 -0600 + debhelper (9.20120608) unstable; urgency=low * dh: When there's an -indep override target without -arch, or vice versa, diff --git a/dh_shlibdeps b/dh_shlibdeps index e941af6c..a41732fc 100755 --- a/dh_shlibdeps +++ b/dh_shlibdeps @@ -111,6 +111,10 @@ if ($dh{L_PARAMS}) { $dh{L_PARAMS}=join(':', @paths); } +if (defined $dh{V_FLAG}) { + warning("You probably wanted to pass -V to dh_makeshlibs, it has no effect on dh_shlibdeps"); +} + foreach my $package (@{$dh{DOPACKAGES}}) { my $tmp=tmpdir($package); my $ext=pkgext($package); |