Skip to content

Commit

Permalink
Remove 32-bit specific flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pentarctagon committed Jun 28, 2021
1 parent 67d6e1b commit dbc7aee
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packaging/windows/SConscript
Expand Up @@ -6,16 +6,12 @@ Import("env")

binaries = ["wesnoth", "wesnothd"]
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:
res = []
env[bin + "_res"] = res
if env["multilib_arch"] == "32":
env.AppendUnique(RCFLAGS = Split("-F pe-i386"))

def WindowsInstaller(env, files):
files = [Entry(file) for file in Flatten(files)]
Expand Down

0 comments on commit dbc7aee

Please sign in to comment.