From 815e4cf7441d83ffca6d4d797a1a313f7c6464ab Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 15 Dec 2014 10:58:01 +0000 Subject: Hand-apply 155b4b9f615f42b5cc26e2953860aba34b17bbc0; allow build of Windows debug version using gdb. --- cscript | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cscript') diff --git a/cscript b/cscript index 5621ef51f..fffec8035 100644 --- a/cscript +++ b/cscript @@ -161,6 +161,8 @@ def dependencies(target): def build(target, options): cmd = './waf configure --prefix=%s' % target.directory + if target.debug: + cmd += ' --enable-debug' if target.platform == 'windows': cmd += ' --target-windows' elif target.platform == 'linux': @@ -185,6 +187,7 @@ def package_windows(target): target.command('sed -i "s~%%resources%%~%s/platform/windows~g" build/platform/windows/installer2.%s.nsi' % (os.getcwd(), target.bits)) target.command('sed -i "s~%%static_deps%%~%s~g" build/platform/windows/installer2.%s.nsi' % (target.windows_prefix, target.bits)) target.command('sed -i "s~%%cdist_deps%%~%s~g" build/platform/windows/installer2.%s.nsi' % (target.directory, target.bits)) + target.command('sed -i "s~%%mingw%%~%s~g" build/platform/windows/installer2.%s.nsi' % (target.mingw_path, target.bits)) target.command('sed -i "s~%%binaries%%~%s/build~g" build/platform/windows/installer2.%s.nsi' % (os.getcwd(), target.bits)) target.command('sed -i "s~%%bits%%~32~g" build/platform/windows/installer2.%s.nsi' % target.bits) target.command('makensis build/platform/windows/installer2.%s.nsi' % target.bits) -- cgit v1.2.3