From d69f5570ee5e1b099e39fdf64e18add23ff5c815 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Thu, 30 Jul 2020 11:34:01 +0900 Subject: [PATCH] w32: Add link to $(NETLIB) for -lws2_32. * dirmngr/Makefile.am (dirmngr_LDADD): Add $(NETLIBS). * sm/Makefile.am (gpgsm_LDADD): Ditto. * tools/Makefile.am (gpg_wks_client_LDADD): Ditto. -- GnuPG-bug-id: 4994 Signed-off-by: NIIBE Yutaka --- dirmngr/Makefile.am | 2 +- sm/Makefile.am | 2 +- tools/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dirmngr/Makefile.am b/dirmngr/Makefile.am index e812329dc..506a3f65d 100644 --- a/dirmngr/Makefile.am +++ b/dirmngr/Makefile.am @@ -82,7 +82,7 @@ endif dirmngr_LDADD = $(libcommonpth) \ $(DNSLIBS) $(LIBASSUAN_LIBS) \ $(LIBGCRYPT_LIBS) $(KSBA_LIBS) $(NPTH_LIBS) \ - $(NTBTLS_LIBS) $(LIBGNUTLS_LIBS) $(LIBINTL) $(LIBICONV) + $(NTBTLS_LIBS) $(LIBGNUTLS_LIBS) $(LIBINTL) $(LIBICONV) $(NETLIBS) if USE_LDAP dirmngr_LDADD += $(ldaplibs) endif diff --git a/sm/Makefile.am b/sm/Makefile.am index 7314341e3..415552f12 100644 --- a/sm/Makefile.am +++ b/sm/Makefile.am @@ -65,7 +65,7 @@ common_libs = ../kbx/libkeybox509.a $(libcommon) gpgsm_LDADD = $(common_libs) ../common/libgpgrl.a \ $(LIBGCRYPT_LIBS) $(KSBA_LIBS) $(LIBASSUAN_LIBS) \ $(GPG_ERROR_LIBS) $(LIBREADLINE) $(LIBINTL) \ - $(LIBICONV) $(resource_objs) $(extra_sys_libs) + $(LIBICONV) $(resource_objs) $(extra_sys_libs) $(NETLIBS) gpgsm_LDFLAGS = $(extra_bin_ldflags) diff --git a/tools/Makefile.am b/tools/Makefile.am index 878c249bc..eed6a44eb 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -185,7 +185,7 @@ gpg_wks_client_SOURCES = \ gpg_wks_client_CFLAGS = $(LIBASSUAN_CFLAGS) $(GPG_ERROR_CFLAGS) $(INCICONV) gpg_wks_client_LDADD = $(libcommon) \ $(LIBASSUAN_LIBS) $(LIBGCRYPT_LIBS) $(GPG_ERROR_LIBS) \ - $(LIBINTL) $(LIBICONV) + $(LIBINTL) $(LIBICONV) $(NETLIBS) if HAVE_NEWER_LIBGCRYPT libexec_PROGRAMS += gpg-pair-tool