summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-02-16 19:42:31 +0100
committerCarl Hetherington <cth@carlh.net>2022-02-17 09:59:36 +0100
commit7daffaa58538a8319000db811a6f65af01c186e0 (patch)
treec555e60957524ddc9ac49be3cdd22ec183acdf58
parent17e4118de4614ef0358bdcf4d7715f1a7c85d67e (diff)
Inhibit dbgsym package creation in non-debug mode.
-rw-r--r--cscript4
1 files 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')