diff options
Diffstat (limited to 'makefiledir/Makefile.libdetection')
-rw-r--r-- | makefiledir/Makefile.libdetection | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/makefiledir/Makefile.libdetection b/makefiledir/Makefile.libdetection index 084d13707..31478d3bb 100644 --- a/makefiledir/Makefile.libdetection +++ b/makefiledir/Makefile.libdetection @@ -39,6 +39,13 @@ BEOS_NET_SERVER:=1 endif endif +# Automatically recognize if building on SunOS/Solaris +ifeq ($(shell uname), SunOS) +SUNOS:=1 +# SunOS uses UNIX setup too +UNIX:=1 +endif + # FreeBSD uses sdl11 instead of sdl ifdef FREEBSD SDL-CONFIG:=sdl11-config |