From 34e341f366c07f31a88aa5977a4447f844f43809 Mon Sep 17 00:00:00 2001 From: Bo Peng Date: Fri, 5 Jan 2007 18:29:52 +0000 Subject: [PATCH] Scons: fix a mingw/scons bug (it is a scons bug) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16538 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/scons/SConstruct | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/development/scons/SConstruct b/development/scons/SConstruct index 892eb55f14..e88a54c7c3 100644 --- a/development/scons/SConstruct +++ b/development/scons/SConstruct @@ -420,6 +420,10 @@ if platform_name == 'win32': else: env.Tool('mingw') env.AppendUnique(CPPPATH = ['#c:/MinGW/include']) + # fix a scons winres bug (there is a missing space between ${RCINCPREFIX} and ${SOURCE.dir} + # in version 0.96.93 + env['RCCOM'] = '$RC $_CPPDEFFLAGS $RCINCFLAGS ${RCINCPREFIX} ${SOURCE.dir} $RCFLAGS -i $SOURCE -o $TARGET' + # we differentiate between hard-coded options and default options # hard-coded options are required and will always be there