threads / patch / 5427

patchMakefile: fix typo

Subject: [PATCH] Makefile: fix typo

## tl;dr

One message between Aug 29, 2006 and Aug 29, 2006. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Johannes Schindelin· Aug 29, 2006, 10:51 UTC · lore

We checked NO_SETENV instead of NO_UNSETENV to decide if unsetenv is available.

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to Makefile +1 −1
diff --git a/Makefile b/Makefile
index 19d62ee..ff1ec6e 100644
--- a/Makefile
+++ b/Makefile
@@ -524,7 +524,7 @@ ifdef NO_SETENV
 	COMPAT_CFLAGS += -DNO_SETENV
 	COMPAT_OBJS += compat/setenv.o
 endif
-ifdef NO_SETENV
+ifdef NO_UNSETENV
 	COMPAT_CFLAGS += -DNO_UNSETENV
 	COMPAT_OBJS += compat/unsetenv.o
 endif
-- 
1.4.2.g0f6b-dirty

← back to recent threads