summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--makefiledir/Makefile.libdetection2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefiledir/Makefile.libdetection b/makefiledir/Makefile.libdetection
index 1167117ae..ff9e68a3a 100644
--- a/makefiledir/Makefile.libdetection
+++ b/makefiledir/Makefile.libdetection
@@ -19,7 +19,7 @@ FREEBSD:=1
endif
# Automatically recognize if building on MacOSX
-ifeq ($(VENDOR), apple)
+ifeq ($(shell uname), Darwin)
OSX:=1
# OSX uses the unix setup too
UNIX:=1