curl/0102-curl-7.21.1-lrt.patch

53 lines
1.8 KiB
Diff
Raw Normal View History

2010-04-19 16:16:09 +00:00
src/Makefile.am | 2 +-
tests/libtest/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
2010-04-19 16:16:09 +00:00
index 3672458..890893d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
2010-08-12 08:45:38 +00:00
@@ -49,7 +49,7 @@ include Makefile.inc
# This might hold -Werror
CFLAGS += @CURL_CFLAG_EXTRAS@
-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
diff --git a/tests/libtest/Makefile.am b/tests/libtest/Makefile.am
2010-04-19 16:16:09 +00:00
index 70b0f12..6512ce4 100644
--- a/tests/libtest/Makefile.am
+++ b/tests/libtest/Makefile.am
2010-04-19 16:16:09 +00:00
@@ -54,7 +54,7 @@ EXTRA_DIST = test75.pl test307.pl test610.pl test613.pl test1013.pl \
test1022.pl Makefile.inc
# 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
2010-08-12 08:45:38 +00:00
# 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