summaryrefslogtreecommitdiff
path: root/makefiledir/Makefile.libdetection
diff options
context:
space:
mode:
Diffstat (limited to 'makefiledir/Makefile.libdetection')
-rw-r--r--makefiledir/Makefile.libdetection8
1 files changed, 8 insertions, 0 deletions
diff --git a/makefiledir/Makefile.libdetection b/makefiledir/Makefile.libdetection
index 9177061ee..f648c22bd 100644
--- a/makefiledir/Makefile.libdetection
+++ b/makefiledir/Makefile.libdetection
@@ -93,6 +93,14 @@ endif
endif
endif
+ifdef OSX
+# we prefer to use cocoa drivers rather than SDL drivers
+# if you really want SDL drivers, you can always modify Makefile.config
+WITH_COCOA:=1
+WITH_SDL:=
+endif
+
+
# workaround
# cygwin have problems with libpng, so we will just disable it for now until the problem is solved
ifdef CYGWIN