* config/ltmain.in (func_mode_link): Use $pic_object as

$non_pic_object if $non_pic_object=none.
* NEWS: Updated.
This commit is contained in:
David Edelsohn 2004-09-03 13:02:33 +00:00 committed by Gary V. Vaughan
parent 7ae2b77a89
commit 875f854504
3 changed files with 22 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2004-09-03 David Edelsohn <dje@watson.ibm.com>
* config/ltmain.in (func_mode_link): Use $pic_object as
$non_pic_object if $non_pic_object=none.
* NEWS: Updated.
2004-09-03 Gary V. Vaughan <gary@gnu.org>
* bootstrap: Remember that the ltmain.sh generated by bootstrap

9
NEWS
View File

@ -1,6 +1,12 @@
NEWS - list of user-visible changes between releases of GNU Libtool
New in 1.9d: 2004-??-??; CVS version 1.9c, Libtool team:
* If non-pic objects were not compiled, and libtool is called in link mode,
libtool no longer silently creates an empty archive, but rather falls
back to pic objects.
* libtool uses automake's $(mkdir_p), and can support `make -j' on
multi-processor hosts if automake discovered a multithreadable mkdir. If
it still doesn't work for you, install GNU mkdir (in GNU coreutils).
* Return type, and name parameter of lt_dlloader_remove are no longer
`const'.
* Name parameter of lt_dlloader_find is no longer 'const'.
@ -10,9 +16,6 @@ New in 1.9d: 2004-??-??; CVS version 1.9c, Libtool team:
types have been exchanged. See libltdl/slist.c for documentation.
* libltdl is C89 compatible again. lt_dlsymbol type removed, and lt_dlsymlist
structure changed to avoid using C99 flexible arrays.
* libtool uses automake's $(mkdir_p), and can support `make -j' on
multi-processor hosts if automake discovered a multithreadable mkdir. If
it still doesn't work for you, install GNU mkdir (in GNU coreutils).
* Fixed some memory leaks in libltdl.
New in 1.9b: 2004-08-29; CVS version 1.5a, Libtool team:

View File

@ -2555,6 +2555,11 @@ func_mode_link ()
if test -z "$pic_object" || test "$pic_object" = none ; then
arg="$non_pic_object"
fi
else
# If the PIC object exists, use it instead.
# $xdir was prepended to $pic_object above.
non_pic_object="$pic_object"
non_pic_objects="$non_pic_objects $non_pic_object"
fi
else
# Only an error if not doing a dry-run.
@ -3063,6 +3068,11 @@ func_mode_link ()
if test -z "$pic_object" || test "$pic_object" = none ; then
arg="$non_pic_object"
fi
else
# If the PIC object exists, use it instead.
# $xdir was prepended to $pic_object above.
non_pic_object="$pic_object"
non_pic_objects="$non_pic_objects $non_pic_object"
fi
else
# Only an error if not doing a dry-run.