diff options
author | Niels Thykier <niels@thykier.net> | 2018-09-14 19:53:30 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2018-09-14 19:53:30 +0000 |
commit | 26893011642c2b3bfdca30e9883231d8499366e0 (patch) | |
tree | 34190f58375958730fe49fbdff48324ac3e81378 /lib/Debian | |
parent | b04224a7dc6b4ca5feee711a1b183fdf49d7762a (diff) | |
download | debhelper-26893011642c2b3bfdca30e9883231d8499366e0.tar.gz |
{meson,autoconf}.pm: Fix inverted boolean logic
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'lib/Debian')
-rw-r--r-- | lib/Debian/Debhelper/Buildsystem/autoconf.pm | 4 | ||||
-rw-r--r-- | lib/Debian/Debhelper/Buildsystem/meson.pm | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/Debian/Debhelper/Buildsystem/autoconf.pm b/lib/Debian/Debhelper/Buildsystem/autoconf.pm index 70d3511e..37172eea 100644 --- a/lib/Debian/Debhelper/Buildsystem/autoconf.pm +++ b/lib/Debian/Debhelper/Buildsystem/autoconf.pm @@ -47,10 +47,10 @@ sub configure { if (! compat(8)) { if (defined $multiarch) { push @opts, "--libdir=\${prefix}/lib/$multiarch"; - push(@opts, "--libexecdir=\${prefix}/lib/$multiarch") if not compat(11); + push(@opts, "--libexecdir=\${prefix}/lib/$multiarch") if compat(11); } else { - push(@opts, "--libexecdir=\${prefix}/lib") if not compat(11); + push(@opts, "--libexecdir=\${prefix}/lib") if compat(11); } } else { diff --git a/lib/Debian/Debhelper/Buildsystem/meson.pm b/lib/Debian/Debhelper/Buildsystem/meson.pm index 7a12005b..2ddd0c37 100644 --- a/lib/Debian/Debhelper/Buildsystem/meson.pm +++ b/lib/Debian/Debhelper/Buildsystem/meson.pm @@ -61,7 +61,7 @@ sub configure { push @opts, "--localstatedir=/var"; my $multiarch=dpkg_architecture_value("DEB_HOST_MULTIARCH"); push @opts, "--libdir=lib/$multiarch"; - push(@opts, "--libexecdir=lib/$multiarch") if not compat(11); + push(@opts, "--libexecdir=lib/$multiarch") if compat(11); if (is_cross_compiling()) { # http://mesonbuild.com/Cross-compilation.html |