From 3c135c0a3f9c3121acd9d2b7d706591702176a58 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Tue, 24 Aug 2010 22:16:25 +0100 Subject: [PATCH] Tweak patch 0102 to not require re-running autotools --- 0102-curl-7.21.1-lrt.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/0102-curl-7.21.1-lrt.patch b/0102-curl-7.21.1-lrt.patch index 775f183..94bca96 100644 --- a/0102-curl-7.21.1-lrt.patch +++ b/0102-curl-7.21.1-lrt.patch @@ -28,3 +28,25 @@ index 70b0f12..6512ce4 100644 DEPENDENCIES = $(top_builddir)/lib/libcurl.la # Makefile.inc provides the source defines (TESTUTIL, SUPPORTFILES, +--- a/src/Makefile.in ++++ b/src/Makefile.in +@@ -337,7 +337,7 @@ + writeout.h writeenv.h getpass.h homedir.h curlutil.h + + curl_SOURCES = $(CURL_CFILES) $(CURLX_ONES) $(CURL_HFILES) +-curl_LDADD = $(top_builddir)/lib/libcurl.la @CURL_LIBS@ ++curl_LDADD = $(top_builddir)/lib/libcurl.la @CURL_LIBS@ -lrt + curl_DEPENDENCIES = $(top_builddir)/lib/libcurl.la + BUILT_SOURCES = hugehelp.c + CLEANFILES = hugehelp.c +--- a/tests/libtest/Makefile.in ++++ b/tests/libtest/Makefile.in +@@ -670,7 +670,7 @@ + + + # Dependencies (may need to be overriden) +-LDADD = $(top_builddir)/lib/libcurl.la ++LDADD = $(top_builddir)/lib/libcurl.la -lrt + DEPENDENCIES = $(top_builddir)/lib/libcurl.la + + # files used only in some libcurl test programs