Fixes for building erlang under windows

Davide Marquês nesrait@REDACTED
Mon Sep 28 02:31:16 CEST 2009


Hi again!

The gs application build fails under windows due to a missing
binaries/win32.tar.gz.
The configure step does check to see whether the file exists but the
Makefile ignores
that test result and overrides/corrects the TCL_TAR value even if the file
is missing.

The fix:
$ERL_TOP/lib/gs/tcl/Makefile.in:36

Replace:
ifeq ($(TARGET),win32)
TCL_TAR = binaries/win32.tar.gz
else
TCL_TAR = @TCL_TAR@
endif

by:
TCL_TAR = @TCL_TAR@
ifneq ($(TCL_TAR),)
ifeq ($(TARGET),win32)
TCL_TAR = binaries/win32.tar.gz
endif
endif

One down, one (wxWidgets) to go.

Cheers,
:Davide


More information about the erlang-patches mailing list