From d01de9cc432a1ce405a57de53e2d5d0bf1df32e0 Mon Sep 17 00:00:00 2001 From: Lucio Andrés Illanes Albornoz (arab, vxp) Date: Jun 10 2016 00:26:06 +0000 Subject: Provide temporary fix for building curl with slibtool: Move $(libcurl_la_LDFLAGS) to the very end of the libcurl.la $(LIBTOOL) command line to correctly add all dependent libraries. --- diff --git a/curl-7.47.1.local.patch b/curl-7.47.1.local.patch index 430db3d..d24c88c 100644 --- a/curl-7.47.1.local.patch +++ b/curl-7.47.1.local.patch @@ -57,3 +57,23 @@ + ;; +esac + +--- curl-7.47.1/lib/Makefile.in.orig 2016-02-07 14:43:49.000000000 +0000 ++++ curl-7.47.1/lib/Makefile.in 2016-06-10 00:07:28.334457112 +0000 +@@ -243,7 +243,7 @@ + am__v_lt_1 = + libcurl_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libcurl_la_CFLAGS) \ +- $(CFLAGS) $(libcurl_la_LDFLAGS) $(LDFLAGS) -o $@ ++ $(CFLAGS) $(LDFLAGS) -o $@ + libcurlu_la_LIBADD = + am__objects_6 = libcurlu_la-file.lo libcurlu_la-timeval.lo \ + libcurlu_la-base64.lo libcurlu_la-hostip.lo \ +@@ -842,7 +842,7 @@ + vtls/$(DEPDIR)/$(am__dirstamp) + + libcurl.la: $(libcurl_la_OBJECTS) $(libcurl_la_DEPENDENCIES) $(EXTRA_libcurl_la_DEPENDENCIES) +- $(AM_V_CCLD)$(libcurl_la_LINK) -rpath $(libdir) $(libcurl_la_OBJECTS) $(libcurl_la_LIBADD) $(LIBS) ++ $(AM_V_CCLD)$(libcurl_la_LINK) -rpath $(libdir) $(libcurl_la_OBJECTS) $(libcurl_la_LIBADD) $(LIBS) $(libcurl_la_LDFLAGS) + vtls/libcurlu_la-openssl.lo: vtls/$(am__dirstamp) \ + vtls/$(DEPDIR)/$(am__dirstamp) + vtls/libcurlu_la-gtls.lo: vtls/$(am__dirstamp) \