$non_pic_object=none.
* NEWS: Updated.
Missing backport from HEAD 2004-09-03 noted
by Max Bowsher <maxb1@ukf.net>.
+2005-11-24 David Edelsohn <dje@watson.ibm.com>
+
+ * ltmain.in (link mode): Use $pic_object as $non_pic_object if
+ $non_pic_object=none.
+ * NEWS: Updated.
+ Missing backport from HEAD 2004-09-03 noted
+ by Max Bowsher <maxb1@ukf.net>.
+
2005-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* ltmain.in (link mode): Pass through `-pg', for GCC.
link statically against installed libtool libraries, contrary to
documented (and actual 1.4.x) behavior.
* Support for Interix 3 (Windows SFU).
+* 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.
* Bug Fixes.
\f
New in 1.5.20: 2005-08-31; CVS version 1.5.19a, Libtool team:
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.
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.