Browse Source

build: i18n: support little-endian machines

Note that this may not affect anything until powerpc support lands in
v8.

Related: https://github.com/srl295/node/issues/7
Related: ba8ab91bc4
PR-URL: https://github.com/joyent/node/pull/8712
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
v0.11.15-release
Steven Loomis 11 years ago
committed by Trevor Norris
parent
commit
855b1c98ca
  1. 4
      tools/icu/icutrim.py

4
tools/icu/icutrim.py

@ -154,8 +154,8 @@ if(config.has_key("comment")):
print "%s: %s" % (options.filterfile, config["comment"])
## STEP 1 - copy the data file, swapping endianness
endian_letter = "l"
## The first letter of endian_letter will be 'b' or 'l' for big or little
endian_letter = options.endian[0]
runcmd("icupkg", "-t%s %s %s""" % (endian_letter, options.datfile, outfile))

Loading…
Cancel
Save