(basedir, archList)
| 210 | |
| 211 | |
| 212 | def tweak_tcl_build(basedir, archList): |
| 213 | with open("Makefile", "r") as fp: |
| 214 | contents = fp.readlines() |
| 215 | |
| 216 | # For reasons I don't understand the tcl configure script |
| 217 | # decides that some stdlib symbols aren't present, before |
| 218 | # deciding that strtod is broken. |
| 219 | new_contents = [] |
| 220 | for line in contents: |
| 221 | if line.startswith("COMPAT_OBJS"): |
| 222 | # note: the space before strtod.o is intentional, |
| 223 | # the detection of a broken strtod results in |
| 224 | # "fixstrod.o" on this line. |
| 225 | for nm in ("strstr.o", "strtoul.o", " strtod.o"): |
| 226 | line = line.replace(nm, "") |
| 227 | new_contents.append(line) |
| 228 | |
| 229 | with open("Makefile", "w") as fp: |
| 230 | fp.writelines(new_contents) |
| 231 | |
| 232 | # List of names of third party software built with this installer. |
| 233 | # The names will be inserted into the rtf version of the License. |
nothing calls this directly
no test coverage detected
searching dependent graphs…