summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2017-09-27 18:34:23 +0300
committerSergey Kandaurov <pluknet@nginx.com>2017-09-27 18:34:23 +0300
commit9213299d1f31476a506824dc918bc576ae789b89 (patch)
treef30f31ca76d9a85f9ea6246b5ef76008f8227567
parentaac0f06f3d548cf02107687d637c25e54b186b68 (diff)
downloadunit-9213299d1f31476a506824dc918bc576ae789b89.tar.gz
unit-9213299d1f31476a506824dc918bc576ae789b89.tar.bz2
Supported linking with -lrt on BSD systems.
OpenBSD lacks support of librt.
Diffstat (limited to '')
-rw-r--r--auto/os/conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/auto/os/conf b/auto/os/conf
index 6d86a849..bab5b6ea 100644
--- a/auto/os/conf
+++ b/auto/os/conf
@@ -58,7 +58,7 @@ case "$NXT_SYSTEM" in
NXT_LIB_SHARED_LOCAL="$NXT_BUILD_DIR/libnxt.so"
NXT_LIBM="-lm"
- NXT_LIBS="$NXT_PTHREAD"
+ NXT_LIBS="$NXT_LIBRT $NXT_PTHREAD"
;;
SunOS)
@@ -144,7 +144,7 @@ case "$NXT_SYSTEM" in
NXT_LIB_SHARED_LOCAL="$NXT_BUILD_DIR/libnxt.so"
NXT_LIBM="-lm"
- NXT_LIBS="$NXT_PTHREAD"
+ NXT_LIBS="$NXT_LIBRT $NXT_PTHREAD"
;;
OpenBSD)