]> git.lyx.org Git - features.git/commitdiff
Scons: fix a mingw/scons bug (it is a scons bug)
authorBo Peng <bpeng@lyx.org>
Fri, 5 Jan 2007 18:30:46 +0000 (18:30 +0000)
committerBo Peng <bpeng@lyx.org>
Fri, 5 Jan 2007 18:30:46 +0000 (18:30 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16539 a592a061-630c-0410-9148-cb99ea01b6c8

development/scons/SConstruct

index 9db0173ff3944d3a3f439c5c6c4eb127fc158c34..1aa414edfb3b03a54e8f5a638fff91ce78b66289 100644 (file)
@@ -419,6 +419,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