error.o is in LIBOBJS, no need to add it twice to libicrt.a.
diff --git a/ChangeLog b/ChangeLog
index 433584c..779f917 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,11 @@
 
 2005-07-19  Bruno Haible  <bruno@clisp.org>
 
+	* srclib/Makefile.am (libicrt_a_SOURCES): Remove error.h, error.c.
+	(LIBADD_SOURCE): Add them here.
+
+2005-07-19  Bruno Haible  <bruno@clisp.org>
+
 	* build-aux/config.guess: Update to GNU version 2006-07-02.
 	* build-aux/config.sub: Likewise.
 
diff --git a/srclib/Makefile.am b/srclib/Makefile.am
index 55e5df4..16f49f5 100644
--- a/srclib/Makefile.am
+++ b/srclib/Makefile.am
@@ -31,7 +31,6 @@
 
 libicrt_a_SOURCES = \
   allocsa.h allocsa.c \
-  error.h error.c \
   exit.h \
   pathmax.h \
   progname.h progname.c progreloc.c \
@@ -44,6 +43,7 @@
 
 LIBADD_SOURCE = \
   canonicalize.h canonicalize.c \
+  error.h error.c \
   memmove.c \
   readlink.c \
   relocatable.h relocatable.c \