From 9b9baddd0b6403aec8a51c83586d8cef0636ab9f Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Thu, 19 Sep 2019 13:35:21 +0300 Subject: [PATCH] mdbx-build: fix wingetopt.c amalgamation. Change-Id: I1527dace166e708847ead7cea1087600aa055210 --- GNUmakefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 04025e7f..e2159c0a 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -223,8 +223,7 @@ dist/$(1).c: src/tools/$(1).c src/tools/wingetopt.h src/tools/wingetopt.c \ dist/@tmp-shared_internals.inc $(lastword $(MAKEFILE_LIST)) mkdir -p dist && sed \ -e '/#include "..\/elements\/internals.h"/r dist/@tmp-shared_internals.inc' \ - -e '/#include "wingetopt.h"/r r/src/tools/wingetopt.c' \ - -e '/#include "wingetopt.h"/r r/src/tools/wingetopt.h' \ + -e '/#include "wingetopt.h"/r src/tools/wingetopt.c' \ src/tools/$(1).c \ | grep -v -e '#include "' -e '#pragma once' -e '#define MDBX_ALLOY' \ | sed 's|@INCLUDE|#include|' > $$@