From 1accc76ad3280c36de48e44af1714b7c39fdfe1f Mon Sep 17 00:00:00 2001 From: Hamish Coleman Date: Sun, 30 Apr 2023 19:44:38 -0500 Subject: [PATCH] Fix the building the win32 subdir. It looks like the github windows build environment is not correctly inheriting environment variables. Which is strange, as that has not been changed with the recent updates. Include the vars directly as a workaround (and plan to refactor later) --- include/n2n_typedefs.h | 1 + scripts/hack_fakeautoconf.sh | 4 ++-- tools/Makefile | 8 +++++++- win32/Makefile | 6 +++++- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/include/n2n_typedefs.h b/include/n2n_typedefs.h index 047c991..bb8e4f5 100644 --- a/include/n2n_typedefs.h +++ b/include/n2n_typedefs.h @@ -51,6 +51,7 @@ typedef int ssize_t; typedef unsigned long in_addr_t; #include "n2n_win32.h" +// FIXME - the above include is from a different subdir #endif /* #if defined(_MSC_VER) || defined(__MINGW32__) */ diff --git a/scripts/hack_fakeautoconf.sh b/scripts/hack_fakeautoconf.sh index 4d06fe7..c8f195c 100755 --- a/scripts/hack_fakeautoconf.sh +++ b/scripts/hack_fakeautoconf.sh @@ -6,8 +6,8 @@ cat >config.mak <