changeset 15517:a5685ab957f9

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.
author Ben Pfaff <blp@cs.stanford.edu>
date Mon, 15 Aug 2011 22:33:25 -0700
parents 4d6d402bb0c9
children 72c48e34ac0a
files ChangeLog modules/relocatable-prog
diffstat 2 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Aug 12 00:18:19 2011 -0700
+++ b/ChangeLog	Mon Aug 15 22:33:25 2011 -0700
@@ -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
--- a/modules/relocatable-prog	Fri Aug 12 00:18:19 2011 -0700
+++ b/modules/relocatable-prog	Mon Aug 15 22:33:25 2011 -0700
@@ -28,6 +28,7 @@
 gl_RELOCATABLE([$gl_source_base])
 if test $RELOCATABLE = yes; then
   AC_LIBOBJ([progreloc])
+  AC_LIBOBJ([relocatable])
 fi
 
 Makefile.am: