Fix env.RES builder on scons 96.93

This commit is contained in:
Sergey Popov 2008-09-04 20:07:37 +00:00
parent 976f4a9fe0
commit 5bc2b68226

View file

@ -7,6 +7,7 @@ binaries = ["wesnoth", "wesnoth_editor"]
for bin in binaries:
#icon = env.Command(bin + "-icon.ico", join("../../icons", bin + "-icon.png"), "$IM_CONVERT $SOURCE $TARGET")
try:
env["RCCOM"] = '$RC $_CPPDEFFLAGS $RCINCFLAGS ${RCINCPREFIX} ${SOURCE.dir} $RCFLAGS -i $SOURCE -o $TARGET'
res = [env.RES(bin + ".rc", CPPPATH=[])]
#env.Depends(res, icon)
except AttributeError: