components/curl/patches/003-Makefile.in.patch
branchs11u2-sru
changeset 4799 f6da2b76c51b
parent 174 187aa0541610
equal deleted inserted replaced
4772:51a400f647ed 4799:f6da2b76c51b
     1 --- tests/server/Makefile.in	2010-10-01 13:49:21.000000000 -0700
     1 Adjusted to include all the libraries needed to successfully link on Solaris.
     2 +++ tests/server/Makefile.in	2010-10-18 08:05:49.792499927 -0700
     2 
     3 @@ -209,7 +209,7 @@
     3 Note that on S11, the LIBS line will need to be:
     4  LDFLAGS = @LDFLAGS@
     4 LIBS = $(BLANK_AT_MAKETIME) -lsocket -lresolv -lnsl -lgen
     5  LIBCURL_LIBS = @LIBCURL_LIBS@
     5 as -lsocket and -lnsl have not yet been subsumed into libc.
       
     6 
       
     7 This patch needs to be sent upstream, but needs to be reworked first.
       
     8 
       
     9 --- tests/server/Makefile.in.orig	2014-09-10 12:16:40.748828978 -0700
       
    10 +++ tests/server/Makefile.in	2014-09-10 12:17:11.065886554 -0700
       
    11 @@ -377,7 +377,7 @@
     6  LIBOBJS = @LIBOBJS@
    12  LIBOBJS = @LIBOBJS@
     7 -LIBS = @LIBS@
    13  
     8 +LIBS = @LIBS@ -lsocket -lresolv -lnsl -lgen
    14  # Prevent LIBS from being used for all link targets
       
    15 -LIBS = $(BLANK_AT_MAKETIME)
       
    16 +LIBS = $(BLANK_AT_MAKETIME) -lresolv -lgen
     9  LIBTOOL = @LIBTOOL@
    17  LIBTOOL = @LIBTOOL@
    10  LIPO = @LIPO@
    18  LIPO = @LIPO@
    11  LN_S = @LN_S@
    19  LN_S = @LN_S@