diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-04-18 10:02:11 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2008-04-18 10:02:11 +0200 |
commit | a6f5e7321eed3bc7071327ad72adc97e2f2debfe (patch) | |
tree | dbeb89e73449595f9ef55698d6008a630432d0bf | |
parent | e8c945d56fd7be800e26c3ac875ccafbc3b5fca4 (diff) | |
download | gnutls-a6f5e7321eed3bc7071327ad72adc97e2f2debfe.tar.gz |
Link to -lws2_32 if needed.
-rw-r--r-- | lib/Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index 3a5274fe76..660782c576 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -116,6 +116,10 @@ libgnutls_la_LDFLAGS = -no-undefined \ libgnutls_la_LIBADD = ../lgl/liblgnu.la x509/libgnutls_x509.la \ @LTLIBZ@ $(LIBGCRYPT_LIBS) @LTLIBINTL@ +if NEED_WS2_32 +libgnutls_la_LIBADD += -lws2_32 +endif + if ENABLE_OPENPGP libgnutls_la_SOURCES += gnutls_openpgp.c libgnutls_la_LIBADD += openpgp/libgnutls_openpgp.la |