From: Carl Hetherington Date: Wed, 16 Feb 2022 18:42:31 +0000 (+0100) Subject: Inhibit dbgsym package creation in non-debug mode. X-Git-Tag: v2.16.2~3 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=7daffaa58538a8319000db811a6f65af01c186e0 Inhibit dbgsym package creation in non-debug mode. --- 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')