2006-09-06 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Wed, 6 Sep 2006 20:57:57 +0000 (20:57 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Wed, 6 Sep 2006 20:57:57 +0000 (20:57 +0000)
* Makefile.am (AM_CFLAGS): Add $(GPG_ERR_CFLAGS).
(gpg_agent_LDADD): Replace -lgpg-error with $(GPG_ERROR_LIBS).

agent/ChangeLog
agent/Makefile.am

index d0cb968..0db7668 100644 (file)
@@ -1,3 +1,8 @@
+2006-09-06  Marcus Brinkmann  <marcus@g10code.de>
+
+       * Makefile.am (AM_CFLAGS): Add $(GPG_ERR_CFLAGS).
+       (gpg_agent_LDADD): Replace -lgpg-error with $(GPG_ERROR_LIBS).
+
 2006-09-06  Werner Koch  <wk@g10code.com>
 
        * query.c: Renamed to ..
index 0bccefa..36baa95 100644 (file)
@@ -27,7 +27,8 @@ AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/common -I$(top_srcdir)/intl
 
 include $(top_srcdir)/am/cmacros.am
 
-AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(LIBASSUAN_CFLAGS) $(PTH_CFLAGS)
+AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(LIBASSUAN_CFLAGS) $(GPG_ERROR_CFLAGS) \
+       $(PTH_CFLAGS)
 
 gpg_agent_SOURCES = \
        gpg-agent.c agent.h \
@@ -48,7 +49,7 @@ gpg_agent_SOURCES = \
 
 gpg_agent_LDADD = ../jnlib/libjnlib.a ../common/libcommon.a ../gl/libgnu.a \
                 $(LIBGCRYPT_LIBS) $(PTH_LIBS) $(LIBASSUAN_LIBS) \
-                -lgpg-error @LIBINTL@ $(NETLIBS)
+               $(GPG_ERROR_LIBS) @LIBINTL@ $(NETLIBS)
 
 gpg_protect_tool_SOURCES = \
        protect-tool.c \