Allow building with any MODTCL_VERSION.

ok sthen@
This commit is contained in:
stu
2026-02-11 01:04:37 +00:00
parent d9e5cc31f1
commit 9195b532e4
2 changed files with 19 additions and 1 deletions
+3 -1
View File
@@ -20,7 +20,9 @@ WANTLIB += GL GLEW SDL2 SDL2_ttf c freetype m ogg png
WANTLIB += pthread ${COMPILER_LIBCXX} theoradec vorbis z
SITES = https://github.com/openMSX/openMSX/releases/download/RELEASE_${V:S/./_/g}/
CONFIGURE_STYLE = simple
CONFIGURE_STYLE =simple
CONFIGURE_ENV = TCL_CONFIG=${MODTCL_LIBDIR}
MAKE_ENV += INSTALL_BASE=${PREFIX}/share/openmsx \
INSTALL_BINARY_DIR=${PREFIX}/bin \
@@ -0,0 +1,16 @@
Use only the provided config location instead of searching and selecting
the config of the lowest version of Tcl that can be found.
https://github.com/openMSX/openMSX/commit/88f68f4d375818df38c449f106933e8f7c8f236e
Index: build/libraries.py
--- build/libraries.py.orig
+++ build/libraries.py
@@ -357,6 +357,7 @@ class TCL(Library):
tclpath = environ.get('TCL_CONFIG')
if tclpath is not None:
yield tclpath
+ return
if distroRoot is None or cls.isSystemLibrary(platform):
if msysActive():