From b71615cca8b928a521cea4a971db86e6d92c68e1 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Mon, 13 Jul 2015 15:29:56 +0200 Subject: Force amalgamation in static build Closes #128. --- configure.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure.py') diff --git a/configure.py b/configure.py index 44871e381..00590c985 100755 --- a/configure.py +++ b/configure.py @@ -1897,6 +1897,10 @@ def main(argv = None): logging.info('Disabling assembly code, cannot use in amalgamation') options.asm_ok = False + if not options.build_shared_lib and not options.gen_amalgamation: + raise Exception('Static build is only supported using amalgamation. ' + 'Add --via-amalgamation.') + loaded_mods = choose_modules_to_use(modules, arch, cc, options) for m in loaded_mods: -- cgit v1.2.3