summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--soltools/cpp/makefile.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/soltools/cpp/makefile.mk b/soltools/cpp/makefile.mk
index c0ddef2814d5..533cf9a91ab7 100644
--- a/soltools/cpp/makefile.mk
+++ b/soltools/cpp/makefile.mk
@@ -55,7 +55,7 @@ OBJFILES= \
# nonstandard cpp options needed for Mac (-isysroot),
# needs the custom stgetopt defined here :/
-.IF "$(OS)" == "MACOSX" || "$(HAVE_GETOPT)" == ""
+.IF "$(OS)" == "MACOSX" || "$(HAVE_GETOPT)" != "YES"
OBJFILES += $(OBJ)$/_getopt.obj
.ENDIF
.IF "$(HAVE_GETOPT)" == "YES"