mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-12 14:06:37 +08:00
* ltmain.in: create libname.lai at link time, not at install time,
Reported by Akim Demaille <demaille@inf.enst.fr>
This commit is contained in:
parent
b37f61a8d4
commit
fcf1aa777f
@ -1,5 +1,9 @@
|
||||
1999-02-12 Alexandre Oliva <oliva@dcc.unicamp.br>
|
||||
|
||||
* ltmain.in: create libname.lai at link time, not at install time,
|
||||
but still create it at install time if it is missing
|
||||
Reported by Akim Demaille <demaille@inf.enst.fr>
|
||||
|
||||
* libltdl/ltdl.c (tryall_dlopen): strcmp filenames was reversed
|
||||
|
||||
1999-02-11 Thomas Tanner <tanner@gmx.de>
|
||||
|
15
ltmain.in
15
ltmain.in
@ -2598,6 +2598,10 @@ installed=no
|
||||
# Directory that this library needs to be installed in:
|
||||
libdir='$install_libdir'\
|
||||
"
|
||||
|
||||
$rm "$output_dir/$outputname"i
|
||||
sed 's/^installed=no$/installed=yes/' \
|
||||
< "$output_dir/$outputname" > "$output_dir/$outputname"i
|
||||
fi
|
||||
|
||||
# Do a symbolic link so that the libtool archive can be found in
|
||||
@ -2845,13 +2849,14 @@ libdir='$install_libdir'\
|
||||
# Install the pseudo-library for information purposes.
|
||||
name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
|
||||
instname="$dir/$name"i
|
||||
$show "Creating $instname"
|
||||
$rm "$instname"
|
||||
sed 's/^installed=no$/installed=yes/' "$file" > "$instname"
|
||||
if test ! -f "$instname"; then
|
||||
# Just in case it was removed...
|
||||
$show "Creating $instname"
|
||||
$rm "$instname"
|
||||
sed 's/^installed=no$/installed=yes/' "$file" > "$instname"
|
||||
fi
|
||||
$show "$install_prog $instname $destdir/$name"
|
||||
$run eval "$install_prog $instname $destdir/$name" || exit $?
|
||||
$show "$rm $instname"
|
||||
$rm "$instname"
|
||||
|
||||
# Maybe install the static library, too.
|
||||
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
|
||||
|
Loading…
Reference in New Issue
Block a user