Index: build/make-kit-crosscompile ================================================================== --- build/make-kit-crosscompile +++ build/make-kit-crosscompile @@ -17,10 +17,15 @@ if [ -z "${STRIP}" ]; then STRIP="${CCROOTBIN}/${CROSS}-strip" fi export PATH AR CC CXX RANLIB STRIP +PKG_CONFIG_PATH='/dev/null/null' +PKG_CONFIG_DIR='/dev/null/null'; +PKG_CONFIG_LIBDIR="/home/rkeene/root/cross-compilers/${CROSS}/${CROSS}/lib/pkgconfig"; +export PKG_CONFIG_PATH PKG_CONFIG_DIR PKG_CONFIG_LIBDIR + # When cross-compiling Tcl it cannot detect these things and so assumes failure # This in turn creates linking issues because it will define the replacements # in the main library and stubs library, which we may both link to ac_cv_func_memcmp_working=yes tcl_cv_strstr_unbroken=ok Index: build/make-kit-win32 ================================================================== --- build/make-kit-win32 +++ build/make-kit-win32 @@ -8,6 +8,11 @@ STRIP="${STRIP:-i586-mingw32msvc-strip}" TEA_PLATFORM='windows' KC_TLS_LINKADD='-lws2_32 -lgdi32' export AR CC CXX RANLIB RC STRIP TEA_PLATFORM KC_TLS_LINKADD +PKG_CONFIG_PATH='/dev/null/null' +PKG_CONFIG_DIR='/dev/null/null'; +PKG_CONFIG_LIBDIR='/home/rkeene/root/cross-compilers/i586-mingw32msvc/i586-mingw32msvc/lib/pkgconfig'; +export PKG_CONFIG_PATH PKG_CONFIG_DIR PKG_CONFIG_LIBDIR + ./kitcreator "$@" --host=i586-mingw32msvc Index: build/make-kit-win64 ================================================================== --- build/make-kit-win64 +++ build/make-kit-win64 @@ -6,6 +6,11 @@ RANLIB=x86_64-w64-mingw32-ranlib RC=x86_64-w64-mingw32-windres STRIP="${STRIP:-x86_64-w64-mingw32-strip}" export AR CC CXX RANLIB RC STRIP +PKG_CONFIG_PATH='/dev/null/null' +PKG_CONFIG_DIR='/dev/null/null'; +PKG_CONFIG_LIBDIR='/home/rkeene/root/cross-compilers/x86_64-w64-mingw32/x86_64-w64-mingw32/lib/pkgconfig'; +export PKG_CONFIG_PATH PKG_CONFIG_DIR PKG_CONFIG_LIBDIR + ./kitcreator "$@" --host=x86_64-w64-mingw32