aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/configure.local.example
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-08 16:11:40 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-08 16:11:40 +0000
commitb3d021af18b2745d4a2594b05bc4e605d918a9e3 (patch)
treeeebee3b5d5f59cd9135567e1efe2560a0b7e505a /configure.local.example
parent05ede23b72a253dad7a9e6f68dc14d4f2a1ea3c2 (diff)
downloadmandoc-b3d021af18b2745d4a2594b05bc4e605d918a9e3.tar.gz
mandoc-b3d021af18b2745d4a2594b05bc4e605d918a9e3.tar.zst
mandoc-b3d021af18b2745d4a2594b05bc4e605d918a9e3.zip
config glue for recvmsg(2) and CMSG_FIRSTHDR(3);
needed for Solaris 11
Diffstat (limited to 'configure.local.example')
-rw-r--r--configure.local.example8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.local.example b/configure.local.example
index 6ac2310a..a7fa8484 100644
--- a/configure.local.example
+++ b/configure.local.example
@@ -1,4 +1,4 @@
-# $Id: configure.local.example,v 1.23 2017/02/04 12:03:07 schwarze Exp $
+# $Id: configure.local.example,v 1.24 2017/02/08 16:11:41 schwarze Exp $
#
# Copyright (c) 2014, 2015, 2016 Ingo Schwarze <schwarze@openbsd.org>
#
@@ -140,6 +140,12 @@ CFLAGS="${CFLAGS} -I/usr/local/include"
LD_NANOSLEEP="-lrt"
+# Some platforms may need an additional linker flag for recvmsg(2).
+# If none is needed or it is -lsocket, it is autodetected.
+# Otherwise, set the following variable.
+
+LD_RECVMSG="-lsocket"
+
# Some platforms might need additional linker flags to link against
# libmandoc that are not autodetected, though no such cases are
# currently known.