components/curl/patches/003-Makefile.in.patch
author Petr Sumbera <petr.sumbera@oracle.com>
Wed, 12 Oct 2016 05:02:11 -0700
changeset 7099 58b579e0ff32
parent 2151 8977d970976a
permissions -rw-r--r--
24836953 firefox/thunderbird js test failures

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@