From 14488cd9380c3d2d44b43ce2d04f1f3764729a5a Mon Sep 17 00:00:00 2001 From: Josef 'Jeff' Sipek Date: Mon, 16 Jul 2018 11:00:49 -0400 Subject: [PATCH] web/nginx: no need to link against libsocket --- components/web/nginx/patches/libsocket.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 components/web/nginx/patches/libsocket.patch diff --git a/components/web/nginx/patches/libsocket.patch b/components/web/nginx/patches/libsocket.patch new file mode 100644 index 000000000..fff4571c3 --- /dev/null +++ b/components/web/nginx/patches/libsocket.patch @@ -0,0 +1,21 @@ +diff -ur nginx-1.13.3.orig/auto/os/solaris nginx-1.13.3/auto/os/solaris +--- nginx-1.13.3.orig/auto/os/solaris Mon Jul 16 10:57:36 2018 ++++ nginx-1.13.3/auto/os/solaris Mon Jul 16 10:57:54 2018 +@@ -8,7 +8,7 @@ + CORE_INCS="$UNIX_INCS" + CORE_DEPS="$UNIX_DEPS $SOLARIS_DEPS" + CORE_SRCS="$UNIX_SRCS $SOLARIS_SRCS " +-CORE_LIBS="$CORE_LIBS -lsocket -lnsl" ++CORE_LIBS="$CORE_LIBS -lnsl" + + NGX_RPATH=YES + +@@ -15,7 +15,7 @@ + # Solaris's make does not support a blank line between target and rules + ngx_spacer= + +-CC_AUX_FLAGS="$CC_AUX_FLAGS -D_FILE_OFFSET_BITS=64 -lsocket -lnsl" ++CC_AUX_FLAGS="$CC_AUX_FLAGS -D_FILE_OFFSET_BITS=64 -lnsl" + + + if [ $ZLIB_ASM != NO ]; then -- 2.11.4.GIT