summaryrefslogtreecommitdiff
path: root/dh_shlibdeps
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2012-07-05 08:51:40 -0600
committerJoey Hess <joey@kitenet.net>2012-07-05 08:51:40 -0600
commitdc8af2bf7e978505080c66b4f8b94f8409113ba2 (patch)
treedc40b6c9b7d0d13e800c01abe2da5dc000e9a1d7 /dh_shlibdeps
parentbf6781f75d757e674607a9bafd658e6f11fa3963 (diff)
dh_shlibdeps: Warn if -V flag is passed, to avoid it accidentially being used here rather than in dh_makeshlibs.
Diffstat (limited to 'dh_shlibdeps')
-rwxr-xr-xdh_shlibdeps4
1 files changed, 4 insertions, 0 deletions
diff --git a/dh_shlibdeps b/dh_shlibdeps
index e941af6..a41732f 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);