guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/4] fix bug #14193


From: Tom Tromey
Subject: [PATCH 2/4] fix bug #14193
Date: Tue, 10 Dec 2013 07:43:34 -0700

        Fix bug #14193.
        * 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 92dcb1e..34c4aa4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1526,10 +1526,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@&address@hidden | 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@&address@hidden | sed 's,\.[[^.]]* ,.doc 
,g;s,\.[[^.]]*$,.doc,'`"
-- 
1.8.1.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]