mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
Fix computation of LIBLOBJS.
Fixes <http://bugs.gnu.org/14193>. * configure.ac (LIBLOBJS): Add prefix to computed .lo file name so dependencies work properly.
This commit is contained in:
parent
70057f3408
commit
2bbdd2ce1c
1 changed files with 5 additions and 4 deletions
|
@ -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,'`"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue