Scons: fix a mingw problem

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@16523 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Bo Peng 2007-01-05 06:30:28 +00:00
parent 61da85eb4b
commit 4cbb5e701b

View File

@ -87,7 +87,7 @@ def createResFromIcon(env, icon_file, rc_file):
rc = open(rc_name, 'w')
print >> rc, 'IDI_ICON1 ICON DISCARDABLE "%s"' % \
os.path.join(env.Dir('$TOP_SRCDIR').abspath, 'development', 'win32',
'packaging', 'icons', icon_file)
'packaging', 'icons', icon_file).replace('\\', '\\\\')
rc.close()
return env.RES(rc_name)
else: