Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
0c12ebf6
"doc/Credits.html" did not exist on "37be27653817f0c4c18d695ceea082e0bb7bf462"
Unverified
Commit
0c12ebf6
authored
Nov 22, 2018
by
Salvatore Sanfilippo
Committed by
GitHub
Nov 22, 2018
Browse files
Merge pull request #5553 from devnexen/dflybsd_build_fix
DragonFlyBSD little build fix
parents
f3601fcb
4e0af5ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Makefile
View file @
0c12ebf6
...
...
@@ -106,6 +106,10 @@ else
ifeq
($(uname_S),FreeBSD)
# FreeBSD
FINAL_LIBS
+=
-lpthread
else
ifeq
($(uname_S),DragonFly)
# FreeBSD
FINAL_LIBS
+=
-lpthread
else
# All the other OSes (notably Linux)
FINAL_LDFLAGS
+=
-rdynamic
...
...
@@ -115,6 +119,7 @@ endif
endif
endif
endif
endif
# Include paths to dependencies
FINAL_CFLAGS
+=
-I
../deps/hiredis
-I
../deps/linenoise
-I
../deps/lua/src
...
...
src/setproctitle.c
View file @
0c12ebf6
...
...
@@ -39,7 +39,7 @@
#include <errno.h>
/* errno program_invocation_name program_invocation_short_name */
#if !defined(HAVE_SETPROCTITLE)
#if (defined __NetBSD__ || defined __FreeBSD__ || defined __OpenBSD__)
#if (defined __NetBSD__ || defined __FreeBSD__ || defined __OpenBSD__
|| defined __DragonFly__
)
#define HAVE_SETPROCTITLE 1
#else
#define HAVE_SETPROCTITLE 0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment