web/nginx: no need to link against libsocket
[unleashed-userland.git] / components / web / nginx / patches / libsocket.patch
blobfff4571c3e7f68caed5ef7fe9bbfa36ca0432687
1 diff -ur nginx-1.13.3.orig/auto/os/solaris nginx-1.13.3/auto/os/solaris
2 --- nginx-1.13.3.orig/auto/os/solaris Mon Jul 16 10:57:36 2018
3 +++ nginx-1.13.3/auto/os/solaris Mon Jul 16 10:57:54 2018
4 @@ -8,7 +8,7 @@
5 CORE_INCS="$UNIX_INCS"
6 CORE_DEPS="$UNIX_DEPS $SOLARIS_DEPS"
7 CORE_SRCS="$UNIX_SRCS $SOLARIS_SRCS "
8 -CORE_LIBS="$CORE_LIBS -lsocket -lnsl"
9 +CORE_LIBS="$CORE_LIBS -lnsl"
11 NGX_RPATH=YES
13 @@ -15,7 +15,7 @@
14 # Solaris's make does not support a blank line between target and rules
15 ngx_spacer=
17 -CC_AUX_FLAGS="$CC_AUX_FLAGS -D_FILE_OFFSET_BITS=64 -lsocket -lnsl"
18 +CC_AUX_FLAGS="$CC_AUX_FLAGS -D_FILE_OFFSET_BITS=64 -lnsl"
21 if [ $ZLIB_ASM != NO ]; then