components/curl/patches/003-Makefile.in.patch
author pkidd <patrick.kidd@oracle.com>
Wed, 06 Apr 2016 10:50:15 -0700
branchs11u3-sru
changeset 5735 e1efaec5fd4c
parent 4103 0a3f0d2f2c86
permissions -rw-r--r--
Added tag 0.175.3.8.0.1.0, S11.3SRU8.1 for changeset 173f0c0430a8

Adjusted to include all the libraries needed to successfully link on Solaris.

Note that on S11, the LIBS line will need to be:
LIBS = $(BLANK_AT_MAKETIME) -lsocket -lresolv -lnsl -lgen
as -lsocket and -lnsl have not yet been subsumed into libc.

This patch needs to be sent upstream, but needs to be reworked first.

--- tests/server/Makefile.in.orig	2014-09-10 12:16:40.748828978 -0700
+++ tests/server/Makefile.in	2014-09-10 12:17:11.065886554 -0700
@@ -377,7 +377,7 @@
 LIBOBJS = @LIBOBJS@
 
 # Prevent LIBS from being used for all link targets
-LIBS = $(BLANK_AT_MAKETIME)
+LIBS = $(BLANK_AT_MAKETIME) -lresolv -lgen
 LIBTOOL = @LIBTOOL@
 LIPO = @LIPO@
 LN_S = @LN_S@