summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-02-25 20:06:18 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-02-25 20:07:06 +0100
commitcb2d61723ce1aadc1ee6d082f0bdcd59e27067da (patch)
tree0fcc7756ab1a21bf6cc99e94fa90495d13d5ab5e
parente06474ab977af37d633d1aefdc6b0ab016198970 (diff)
downloadgnutls-cb2d61723ce1aadc1ee6d082f0bdcd59e27067da.tar.gz
Link to correct libraries.
-rw-r--r--lib/Makefile.am2
-rw-r--r--src/Makefile.am6
-rw-r--r--tests/dtls/Makefile.am3
3 files changed, 7 insertions, 4 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 4b3179581a..a1e19a133e 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -116,7 +116,7 @@ libgnutls_la_LIBADD = ../gl/libgnu.la x509/libgnutls_x509.la \
auth/libgnutls_auth.la algorithms/libgnutls_alg.la \
extras/libgnutls_extras.la \
$(LTLIBZ) $(LTLIBINTL) $(LIBSOCKET) $(LTLIBDL) \
- $(LTLIBPTHREAD) $(P11_KIT_LIBS)
+ $(LTLIBPTHREAD) $(P11_KIT_LIBS) $(LIB_SELECT)
if ENABLE_OPENPGP
libgnutls_la_LIBADD += openpgp/libgnutls_openpgp.la
diff --git a/src/Makefile.am b/src/Makefile.am
index 4d013d49d9..d7595b2119 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -80,7 +80,8 @@ endif
if ENABLE_OCSP
ocsptool_SOURCES = ocsptool.c ocsptool-common.h ocsptool-common.c \
socket.c socket.h
-ocsptool_LDADD = ../lib/libgnutls.la libcmd-ocsp.la ../gl/libgnu.la $(LIBOPTS_LDADD)
+ocsptool_LDADD = ../lib/libgnutls.la libcmd-ocsp.la ../gl/libgnu.la $(LIBOPTS_LDADD) \
+ $(GETADDRINFO_LIB)
noinst_LTLIBRARIES += libcmd-ocsp.la
libcmd_ocsp_la_CFLAGS =
libcmd_ocsp_la_SOURCES = ocsptool-args.def ocsptool-args.h ocsptool-args.c
@@ -99,7 +100,8 @@ gnutls_cli_SOURCES = cli.c common.h common.c \
$(PKCS11_SRCS) $(BENCHMARK_SRCS)
gnutls_cli_LDADD = ../lib/libgnutls.la
gnutls_cli_LDADD += libcmd-cli.la ../gl/libgnu.la $(LIBOPTS_LDADD)
-gnutls_cli_LDADD += $(LIBSOCKET) $(GETADDRINFO_LIB) $(LIB_CLOCK_GETTIME)
+gnutls_cli_LDADD += $(LIBSOCKET) $(GETADDRINFO_LIB) $(LIB_CLOCK_GETTIME) \
+ $(SERVENT_LIB)
noinst_LTLIBRARIES += libcmd-cli.la
libcmd_cli_la_CFLAGS =
libcmd_cli_la_SOURCES = cli-args.def cli-args.c cli-args.h
diff --git a/tests/dtls/Makefile.am b/tests/dtls/Makefile.am
index 334733920f..559a0d46cd 100644
--- a/tests/dtls/Makefile.am
+++ b/tests/dtls/Makefile.am
@@ -35,7 +35,8 @@ AM_CPPFLAGS = \
AM_LDFLAGS = -no-install
LDADD = ../../lib/libgnutls.la \
../../gl/libgnu.la \
- $(LIBSOCKET) $(INET_NTOP_LIB) $(INET_PTON_LIB)
+ $(LIBSOCKET) $(INET_NTOP_LIB) $(INET_PTON_LIB) \
+ $(LIB_TIMER_TIME)
if !WINDOWS