summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2009-08-10 15:09:04 +0200
committerSimon Josefsson <simon@josefsson.org>2009-08-13 11:39:48 +0200
commitb2e1ec5070a53cd332c37428c2c57f1c6eb28247 (patch)
tree11ee5c3bc7dc58b02e505bf2b7569c78ab7ff325
parent28988b15abbfdb97c0442de99fee288e535de765 (diff)
downloadgnutls-b2e1ec5070a53cd332c37428c2c57f1c6eb28247.tar.gz
Need to add LIBSOCKET because we link to ../lib's gnulib library, for mingw.
-rw-r--r--libextra/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/libextra/Makefile.am b/libextra/Makefile.am
index 2dd1af4a25..770ccad982 100644
--- a/libextra/Makefile.am
+++ b/libextra/Makefile.am
@@ -62,7 +62,8 @@ lib_LTLIBRARIES += libgnutls-openssl.la
libgnutls_openssl_la_SOURCES = gnutls_openssl.c openssl_compat.h \
openssl_compat.c
-libgnutls_openssl_la_LIBADD = ../lib/gl/liblgnu.la ../lib/libgnutls.la
+libgnutls_openssl_la_LIBADD = ../lib/gl/liblgnu.la $(LIBSOCKET) \
+ ../lib/libgnutls.la
libgnutls_openssl_la_LDFLAGS += -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
@@ -81,7 +82,7 @@ endif
# OpenPGP
-libgnutls_extra_la_LIBADD =
+libgnutls_extra_la_LIBADD = $(LIBSOCKET)
libgnutls_extra_la_LDFLAGS = -no-undefined
# TLS/IA