From 2bbdd2ce1c11ba05a6b6a508f7a91c5ca7392492 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 10 Dec 2013 07:43:34 -0700 Subject: [PATCH] Fix computation of LIBLOBJS. Fixes . * configure.ac (LIBLOBJS): Add prefix to computed .lo file name so dependencies work properly. --- configure.ac | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index e5f3a4c84..d0d9851c1 100644 --- a/configure.ac +++ b/configure.ac @@ -1550,10 +1550,11 @@ AC_SUBST(GCC_CFLAGS) GUILE_GNU_LD_RELRO -## If we're creating a shared library (using libtool!), then we'll -## need to generate a list of .lo files corresponding to the .o files -## given in LIBOBJS. We'll call it LIBLOBJS. -LIBLOBJS="`echo ${LIB@&t@OBJS} | sed 's,\.[[^.]]* ,.lo ,g;s,\.[[^.]]*$,.lo,'`" +LIBLOBJS="" +for file in $LIBOBJS; do + file=`echo "$file" | sed 's,\.[[^.]]*$,.lo,'` + LIBLOBJS="$LIBLOBJS libguile_${GUILE_EFFECTIVE_VERSION}_la-$file" +done ## We also need to create corresponding .doc and .x files EXTRA_DOT_DOC_FILES="`echo ${LIB@&t@OBJS} | sed 's,\.[[^.]]* ,.doc ,g;s,\.[[^.]]*$,.doc,'`"