Fix detection of ipv6 on Solaris
The configuration script detects whether linking with -lsocket is necessary but doesn't add -lsocket to LIBS. This lets the ipv6 test fail. Signed-off-by: Dennis Stosberg <dennis@stosberg.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
ab5573ae9f
commit
d1b9944db8
@ -154,6 +154,7 @@ AC_CHECK_LIB([c], [socket],
|
||||
[NEEDS_SOCKET=],
|
||||
[NEEDS_SOCKET=YesPlease])
|
||||
AC_SUBST(NEEDS_SOCKET)
|
||||
test -n "$NEEDS_SOCKET" && LIBS="$LIBS -lsocket"
|
||||
|
||||
|
||||
## Checks for header files.
|
||||
|
Loading…
Reference in New Issue
Block a user