summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2022-04-26 13:25:01 (GMT)
committersebres <sebres@users.sourceforge.net>2022-04-26 13:25:01 (GMT)
commitfb6284e74892e0451649cff40291378b663dd448 (patch)
tree81a8aafc9120a5bb31340f9d30b5c9981b7a7c9b /win
parente12b1646c6f675cf09d5f1a72d4ecdffa5da7396 (diff)
downloadtcl-fb6284e74892e0451649cff40291378b663dd448.zip
tcl-fb6284e74892e0451649cff40291378b663dd448.tar.gz
tcl-fb6284e74892e0451649cff40291378b663dd448.tar.bz2
fixes build using msys/mingw toolchain, missing build path as include caused:
generic/tclEvent.c:17:10: fatal error: tclUuid.h: No such file or directory (cherry picked from unix/Makefile.in)
Diffstat (limited to 'win')
-rw-r--r--win/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/win/Makefile.in b/win/Makefile.in
index 4a4979d..1464792 100644
--- a/win/Makefile.in
+++ b/win/Makefile.in
@@ -98,6 +98,7 @@ COMPILE_DEBUG_FLAGS =
SRC_DIR = @srcdir@
ROOT_DIR = @srcdir@/..
TOP_DIR = $(shell cd @srcdir@/..; pwd -W 2>/dev/null || pwd -P)
+BUILD_DIR = @builddir@
GENERIC_DIR = $(TOP_DIR)/generic
WIN_DIR = $(TOP_DIR)/win
COMPAT_DIR = $(TOP_DIR)/compat
@@ -251,7 +252,7 @@ MINIZIP_OBJS = \
ZIP_INSTALL_OBJS = @ZIP_INSTALL_OBJS@
-CC_SWITCHES = -I"${GENERIC_DIR_NATIVE}" -I"${TOMMATH_DIR_NATIVE}" \
+CC_SWITCHES = -I"${BUILD_DIR}" -I"${GENERIC_DIR_NATIVE}" -I"${TOMMATH_DIR_NATIVE}" \
-I"${ZLIB_DIR_NATIVE}" -I"${WIN_DIR_NATIVE}" \
${CFLAGS} ${CFLAGS_WARNING} ${SHLIB_CFLAGS} -DMP_PREC=4 \
${AC_FLAGS} ${COMPILE_DEBUG_FLAGS} ${NO_DEPRECATED_FLAGS}