From 7daffaa58538a8319000db811a6f65af01c186e0 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 16 Feb 2022 19:42:31 +0100 Subject: [PATCH] Inhibit dbgsym package creation in non-debug mode. --- cscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cscript b/cscript index e230cb1cf..a4dcdd0f0 100644 --- a/cscript +++ b/cscript @@ -618,8 +618,8 @@ def package_debian(target, cpu, version, options): target.set('CDIST_CONFIGURE', '"' + configure_options(target, options) + '"') target.set('CDIST_PACKAGE', f'dcpomatic{suffix}') - if target.debug: - target.set('CDIST_DEBUG_PACKAGE_FLAG', f'--dbg-package=dcpomatic{suffix}-dbg') + if not target.debug: + target.set('CDIST_DEBUG_PACKAGE_FLAG', '--no-ddebs') target.command('dpkg-buildpackage -uc -us') -- 2.30.2