mirror of
https://github.com/fluencelabs/redis
synced 2025-03-30 22:31:03 +00:00
DragonFlyBSD little build fix
This commit is contained in:
parent
7721fe83e9
commit
4e0af5efd4
@ -106,6 +106,10 @@ else
|
|||||||
ifeq ($(uname_S),FreeBSD)
|
ifeq ($(uname_S),FreeBSD)
|
||||||
# FreeBSD
|
# FreeBSD
|
||||||
FINAL_LIBS+= -lpthread
|
FINAL_LIBS+= -lpthread
|
||||||
|
else
|
||||||
|
ifeq ($(uname_S),DragonFly)
|
||||||
|
# FreeBSD
|
||||||
|
FINAL_LIBS+= -lpthread
|
||||||
else
|
else
|
||||||
# All the other OSes (notably Linux)
|
# All the other OSes (notably Linux)
|
||||||
FINAL_LDFLAGS+= -rdynamic
|
FINAL_LDFLAGS+= -rdynamic
|
||||||
@ -115,6 +119,7 @@ endif
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
# Include paths to dependencies
|
# Include paths to dependencies
|
||||||
FINAL_CFLAGS+= -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src
|
FINAL_CFLAGS+= -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
#include <errno.h> /* errno program_invocation_name program_invocation_short_name */
|
#include <errno.h> /* errno program_invocation_name program_invocation_short_name */
|
||||||
|
|
||||||
#if !defined(HAVE_SETPROCTITLE)
|
#if !defined(HAVE_SETPROCTITLE)
|
||||||
#if (defined __NetBSD__ || defined __FreeBSD__ || defined __OpenBSD__)
|
#if (defined __NetBSD__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __DragonFly__)
|
||||||
#define HAVE_SETPROCTITLE 1
|
#define HAVE_SETPROCTITLE 1
|
||||||
#else
|
#else
|
||||||
#define HAVE_SETPROCTITLE 0
|
#define HAVE_SETPROCTITLE 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user