Portability build fix.
authorBen Kibbey <bjk@luxsci.net>
Sat, 10 Sep 2016 17:42:09 +0000 (13:42 -0400)
committerBen Kibbey <bjk@luxsci.net>
Sat, 10 Sep 2016 17:42:09 +0000 (13:42 -0400)
* kbx/Makefile.am: Add NETLIBS.
* dirmngr/Makefile.am: Ditto for dirmngr_ldap.
--

Fixes OpenIndiana (Solaris) builds.

Signed-off-by: Ben Kibbey <bjk@luxsci.net>
dirmngr/Makefile.am
kbx/Makefile.am

index 6b0a1e1..b7bc21d 100644 (file)
@@ -95,7 +95,7 @@ dirmngr_ldap_CFLAGS = $(GPG_ERROR_CFLAGS) $(LIBGCRYPT_CFLAGS)
 dirmngr_ldap_LDFLAGS =
 dirmngr_ldap_LDADD = $(libcommon) no-libgcrypt.o \
                     $(GPG_ERROR_LIBS) $(LIBGCRYPT_LIBS) $(LDAPLIBS) \
-                    $(LBER_LIBS) $(LIBINTL) $(LIBICONV)
+                    $(LBER_LIBS) $(LIBINTL) $(LIBICONV) $(NETLIBS)
 endif
 
 dirmngr_client_SOURCES = dirmngr-client.c
index 95138e0..912dd76 100644 (file)
@@ -61,6 +61,7 @@ kbxutil_SOURCES = kbxutil.c $(common_sources)
 kbxutil_CFLAGS = $(AM_CFLAGS) -DKEYBOX_WITH_X509=1
 kbxutil_LDADD   = ../common/libcommon.a \
                   $(KSBA_LIBS) $(LIBGCRYPT_LIBS) $(extra_libs) \
-                  $(GPG_ERROR_LIBS) $(LIBINTL) $(LIBICONV) $(W32SOCKLIBS)
+                  $(GPG_ERROR_LIBS) $(LIBINTL) $(LIBICONV) $(W32SOCKLIBS) \
+                 $(NETLIBS)
 
 $(PROGRAMS) : ../common/libcommon.a