relocatable-prog: fix link error
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 16 Aug 2011 05:33:25 +0000 (22:33 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 16 Aug 2011 05:33:25 +0000 (22:33 -0700)
* modules/relocatable-prog (configure.ac) [RELOCATABLE]: Also
invoke AC_LIBOBJ([relocatable]).  This invocation was previously
in the gl_RELOCATABLE_LIBRARY macro.  That invocation was moved
into modules/relocatable-lib without noticing that
modules/relocatable-prog also invokes gl_RELOCATABLE_LIBRARY and
also needs to build relocatable.c.

ChangeLog
modules/relocatable-prog

index 6535a0d..aab48d7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2011-08-15  Ben Pfaff  <blp@cs.stanford.edu>
+
+       relocatable-prog: fix link error
+       * modules/relocatable-prog (configure.ac) [RELOCATABLE]: Also
+       invoke AC_LIBOBJ([relocatable]).  This invocation was previously
+       in the gl_RELOCATABLE_LIBRARY macro.  That invocation was moved
+       into modules/relocatable-lib without noticing that
+       modules/relocatable-prog also invokes gl_RELOCATABLE_LIBRARY and
+       also needs to build relocatable.c.
+
 2011-08-12  Paul Eggert  <eggert@cs.ucla.edu>
 
        getaddrinfo: fix sh typo in gai_strerrorA decl checking
index a7f50ac..72bc253 100644 (file)
@@ -28,6 +28,7 @@ configure.ac:
 gl_RELOCATABLE([$gl_source_base])
 if test $RELOCATABLE = yes; then
   AC_LIBOBJ([progreloc])
+  AC_LIBOBJ([relocatable])
 fi
 
 Makefile.am: