[packages/libtool] - updated to 2.6.2
qboosh
qboosh at pld-linux.org
Wed Aug 26 21:43:27 CEST 2026
commit 72cc85a7d69170e64f2070921ee3eb53e1afded6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Aug 26 21:43:15 2026 +0200
- updated to 2.6.2
libtool-info.patch | 42 +++++++++++-----
libtool-linking-order.patch | 116 ++++++++++++++++++++++----------------------
libtool.spec | 21 +++++---
3 files changed, 103 insertions(+), 76 deletions(-)
---
diff --git a/libtool.spec b/libtool.spec
index 3e5fbb7..3ccc405 100644
--- a/libtool.spec
+++ b/libtool.spec
@@ -10,13 +10,13 @@ Summary(pt_BR.UTF-8): GNU libtool, uma ferramenta de geração de bibliotecas co
Summary(ru.UTF-8): GNU libtool, набор утилит для генерации разделяемых библиотек
Summary(uk.UTF-8): GNU libtool, набір утиліт для генерації динамічних бібліотек
Name: libtool
-Version: 2.5.4
-Release: 4
+Version: 2.6.2
+Release: 1
Epoch: 2
License: GPL v2+
Group: Development/Tools
Source0: https://ftp.gnu.org/gnu/libtool/%{name}-%{version}.tar.xz
-# Source0-md5: 22e0a29df8af5fdde276ea3a7d351d30
+# Source0-md5: 87743862e6cabfb9e76651bc64e31e5c
Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
# Source1-md5: b95e215961860c66f0868b0d551358c9
Patch0: %{name}-info.patch
@@ -179,10 +179,15 @@ cd ..
%{__make}
-%{?with_tests:%{__make} check GCJ= %{!?with_tests_expensive:TESTSUITEFLAGS='-k "!expensive"'}}
+%if %{with tests}
+%{__make} check \
+ GCJ= \
+ %{!?with_tests_expensive:TESTSUITEFLAGS='-k "!expensive"'}
+%endif
%install
rm -rf $RPM_BUILD_ROOT
+
%{__make} install \
INSTALL="install -p" \
DESTDIR=$RPM_BUILD_ROOT
@@ -208,6 +213,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc AUTHORS NEWS README THANKS TODO ChangeLog
%attr(755,root,root) %{_bindir}/libtool
+%attr(755,root,root) %{_bindir}/libtool-next-version
%attr(755,root,root) %{_bindir}/libtoolize
%dir %{_datadir}/libtool
# libltdl copy for libtoolize --ltdl
@@ -233,6 +239,7 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/libtool/libltdl
%{_datadir}/libtool/loaders
%{_mandir}/man1/libtool.1*
+%{_mandir}/man1/libtool-next-version.1*
%{_mandir}/man1/libtoolize.1*
%lang(ja) %{_mandir}/ja/man1/libtool.1*
%lang(ja) %{_mandir}/ja/man1/libtoolize.1*
@@ -245,12 +252,12 @@ rm -rf $RPM_BUILD_ROOT
%files -n libltdl
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libltdl.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libltdl.so.7
+%{_libdir}/libltdl.so.*.*.*
+%ghost %{_libdir}/libltdl.so.7
%files -n libltdl-devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libltdl.so
+%{_libdir}/libltdl.so
%{_libdir}/libltdl.la
%{_includedir}/libltdl
%{_aclocaldir}/ltargz.m4
diff --git a/libtool-info.patch b/libtool-info.patch
index 2cb0dda..ce4c1e7 100644
--- a/libtool-info.patch
+++ b/libtool-info.patch
@@ -1,6 +1,6 @@
---- libtool-2.4.3/doc/libtool.texi.orig 2014-10-27 18:20:51.000000000 +0100
-+++ libtool-2.4.3/doc/libtool.texi 2014-10-29 16:14:31.197974801 +0100
-@@ -30,15 +30,11 @@
+--- libtool-2.6.2/doc/libtool.texi.orig 2026-07-16 15:56:58.000000000 +0200
++++ libtool-2.6.2/doc/libtool.texi 2026-08-26 05:33:52.219501033 +0200
+@@ -31,16 +31,12 @@ and with no Back-Cover Texts. A copy of
the section entitled ``GNU Free Documentation License''.
@end copying
@@ -14,13 +14,15 @@
- at direntry
-* libtool-invocation: (libtool)Invoking libtool. Running the @code{libtool} script.
-* libtoolize: (libtool)Invoking libtoolize. Adding libtool support.
+-* libtool-next-version: (libtool)Invoking libtool-next-version. Running the @code{libtool-next-version} wizard.
+* Libtool: (libtool). Generic shared library support script
+* libtool-invocation: (libtool)libtool. Running the @code{libtool} script
+* libtoolize: (libtool)libtoolize. Adding libtool support
++* libtool-next-version: (libtool)libtool-next-version. Running the @code{libtool-next-version} wizard
@end direntry
@titlepage
-@@ -72,7 +68,7 @@
+@@ -74,7 +70,7 @@ GNU Libtool.
* Introduction:: What the heck is libtool?
* Libtool paradigm:: How libtool's view of libraries is different.
* Using libtool:: Example of using libtool to build libraries.
@@ -29,7 +31,7 @@
* Integrating libtool:: Using libtool in your own packages.
* Other languages:: Using libtool without a C compiler.
* Versioning:: Using library interface versions.
-@@ -137,7 +133,7 @@
+@@ -139,7 +135,7 @@ Configuring libtool
Including libtool in your package
@@ -38,7 +40,7 @@
* Autoconf and LTLIBOBJS:: Autoconf automates LTLIBOBJS generation.
Using libtool with other languages
-@@ -1171,7 +1167,7 @@
+@@ -1174,7 +1170,7 @@ Another common situation where static li
creating a standalone binary. Use libtool to do the linking and add the
@option{-all-static} flag.
@@ -47,7 +49,7 @@
@chapter Invoking @command{libtool}
@pindex libtool
@cindex libtool command options
-@@ -2429,8 +2425,8 @@
+@@ -2619,8 +2615,8 @@ the file itself.
@end defmac
@pindex aclocal
@@ -58,7 +60,7 @@
@code{LT_INIT}. If you use Automake, the @command{aclocal} program
will automatically add @code{LT_INIT} support to your
@file{configure} script when it sees the invocation of @code{LT_INIT}
-@@ -2487,11 +2483,11 @@
+@@ -2677,11 +2673,11 @@ You should use the @command{libtoolize}
copying these files into your package.
@menu
@@ -72,8 +74,8 @@
@subsection Invoking @command{libtoolize}
@pindex libtoolize
@cindex libtoolize command options
-@@ -2842,7 +2838,7 @@
- a tag, then it defaults to the configuration for the @code{C} language.
+@@ -3033,7 +3029,7 @@ the compiler command being used to compi
+ a tag, then it exits immediately with a fatal error.
The tag can also be specified using @command{libtool}'s
- at option{--tag=@var{tag}} option (@pxref{Invoking libtool}). It is a good
@@ -81,7 +83,25 @@
idea to do so in @file{Makefile} rules, because that will allow users to
substitute the compiler without relying on @command{libtool} inference
heuristics. When no tag is specified, @command{libtool} will default
-@@ -4692,7 +4688,7 @@
+@@ -3200,7 +3196,7 @@ with any other release.
+ @menu
+ * Manual version info update:: Updating version info manually.
+ * Guided version info update:: Using the libtool-next-version program.
+-* Invoking libtool-next-version:: @code{libtool-next-version} command line options.
++* libtool-next-version:: @code{libtool-next-version} command line options.
+ @end menu
+
+ @node Manual version info update
+@@ -3299,7 +3295,7 @@ Then you are ready to invoke the wizard
+ $ libtool-next-version /tmp/prev/lib/libfoo.so /tmp/curr/lib/libfoo.so
+ @end example
+
+- at node Invoking libtool-next-version
++ at node libtool-next-version
+ @subsection Invoking @command{libtool-next-version}
+ @pindex libtool-next-version
+ @cindex libtool-next-version command options
+@@ -4989,7 +4985,7 @@ into any program is left as an exercise
@defmac LT_CONFIG_LTDL_DIR (@var{directory})
Declare @var{directory} to be the location of the @code{libltdl}
source files, for @command{libtoolize --ltdl} to place
diff --git a/libtool-linking-order.patch b/libtool-linking-order.patch
index f5b8589..93f6566 100644
--- a/libtool-linking-order.patch
+++ b/libtool-linking-order.patch
@@ -1,6 +1,6 @@
---- libtool-2.5.4/m4/libtool.m4.orig 2025-01-17 18:00:01.715242923 +0100
-+++ libtool-2.5.4/m4/libtool.m4 2025-01-17 22:24:02.159427871 +0100
-@@ -5299,7 +5299,7 @@ _LT_EOF
+--- libtool-2.6.2/m4/libtool.m4.orig 2026-08-26 05:34:18.222693495 +0200
++++ libtool-2.6.2/m4/libtool.m4 2026-08-26 19:45:45.739261979 +0200
+@@ -5436,7 +5436,7 @@ _LT_EOF
_LT_TAGVAR(file_list_spec, $1)='@'
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
@@ -9,7 +9,7 @@
# If the export-symbols file already is a .def file, use it as
# is; otherwise, prepend EXPORTS...
_LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
-@@ -5308,7 +5308,7 @@ _LT_EOF
+@@ -5445,7 +5445,7 @@ _LT_EOF
echo EXPORTS > $output_objdir/$soname.def;
cat $export_symbols >> $output_objdir/$soname.def;
fi~
@@ -18,7 +18,7 @@
else
_LT_TAGVAR(ld_shlibs, $1)=no
fi
-@@ -5411,13 +5411,13 @@ _LT_EOF
+@@ -5552,13 +5552,13 @@ _LT_EOF
*Sun\ F*) # Sun Fortran 8.3
tmp_sharedflag='-G' ;;
esac
@@ -34,7 +34,7 @@
fi
case $cc_basename in
-@@ -5453,8 +5453,8 @@ _LT_EOF
+@@ -5589,8 +5589,8 @@ _LT_EOF
_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
wlarc=
else
@@ -45,7 +45,7 @@
fi
;;
-@@ -5472,8 +5472,8 @@ _LT_EOF
+@@ -5608,8 +5608,8 @@ _LT_EOF
_LT_EOF
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -56,7 +56,7 @@
else
_LT_TAGVAR(ld_shlibs, $1)=no
fi
-@@ -5501,8 +5501,8 @@ _LT_EOF
+@@ -5637,8 +5637,8 @@ _LT_EOF
# requires that you compile everything twice, which is a pain.
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
@@ -67,7 +67,7 @@
else
_LT_TAGVAR(ld_shlibs, $1)=no
fi
-@@ -5519,8 +5519,8 @@ _LT_EOF
+@@ -5655,8 +5655,8 @@ _LT_EOF
*)
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
@@ -78,7 +78,7 @@
else
_LT_TAGVAR(ld_shlibs, $1)=no
fi
-@@ -5690,12 +5690,12 @@ _LT_EOF
+@@ -5826,12 +5826,12 @@ _LT_EOF
# empty executable.
_LT_SYS_MODULE_PATH_AIX([$1])
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
@@ -93,16 +93,16 @@
else
# Determine the default libpath from the value encoded in an
# empty executable.
-@@ -5806,7 +5806,7 @@ _LT_EOF
+@@ -5948,7 +5948,7 @@ _LT_EOF
# Tell ltmain to make .dll files, not .so files.
shrext_cmds=.dll
# FIXME: Setting linknames here is a bad hack.
-- _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
-+ _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $compiler_flags $libobjs `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
+- _LT_TAGVAR(archive_cmds, $1)='$CC -Fe$lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
++ _LT_TAGVAR(archive_cmds, $1)='$CC -Fe$lib $compiler_flags $libobjs `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
# The linker will automatically build a .lib file if we build a DLL.
_LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
# FIXME: Should let the user specify the lib program.
-@@ -5944,7 +5944,7 @@ _LT_EOF
+@@ -6086,7 +6086,7 @@ _LT_EOF
irix5* | irix6* | nonstopux*)
if test yes = "$GCC"; then
@@ -111,7 +111,7 @@
# Try to use the -exported_symbol ld option, if it does not
# work, assume that -exports_file does not work either and
# implicitly export all symbols.
-@@ -5985,7 +5985,7 @@ _LT_EOF
+@@ -6130,7 +6130,7 @@ _LT_EOF
tcc*)
# Fabrice Bellard et al's Tiny C Compiler
_LT_TAGVAR(ld_shlibs, $1)=yes
@@ -120,7 +120,7 @@
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
;;
esac
-@@ -6022,12 +6022,12 @@ _LT_EOF
+@@ -6164,12 +6164,12 @@ _LT_EOF
_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
_LT_TAGVAR(hardcode_direct_absolute, $1)=yes
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
@@ -136,69 +136,69 @@
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
fi
else
-@@ -6102,9 +6102,9 @@ _LT_EOF
+@@ -6243,9 +6243,9 @@ _LT_EOF
_LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
if test yes = "$GCC"; then
wlarc='$wl'
- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $compiler_flags $libobjs $deplibs'
- _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-- $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
-+ $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $compiler_flags $libobjs $deplibs~$RM $lib.exp'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.expsym~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.expsym~echo "local: *; };" >> $lib.expsym~
+- $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.expsym $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.expsym'
++ $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.expsym $wl-h $wl$soname -o $lib $compiler_flags $libobjs $deplibs~$RM $lib.expsym'
else
case `$CC -V 2>&1` in
*"Compilers 5.0"*)
-@@ -6115,9 +6115,9 @@ _LT_EOF
+@@ -6256,9 +6256,9 @@ _LT_EOF
;;
*)
wlarc='$wl'
- _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $compiler_flags $libobjs $deplibs'
- _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-- $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
-+ $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $compiler_flags $libobjs $deplibs~$RM $lib.exp'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.expsym~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.expsym~echo "local: *; };" >> $lib.expsym~
+- $CC -G$allow_undefined_flag -M $lib.expsym -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.expsym'
++ $CC -G$allow_undefined_flag -M $lib.expsym -h $soname -o $lib $compiler_flags $libobjs $deplibs~$RM $lib.expsym'
;;
esac
fi
-@@ -6591,8 +6591,8 @@ if test yes != "$_lt_caught_CXX_error";
+@@ -6732,8 +6732,8 @@ if test yes != "$_lt_caught_CXX_error";
# Check if GNU C++ uses GNU ld as the underlying linker, since the
# archiving commands below assume that GNU ld is being used.
if test yes = "$with_gnu_ld"; then
-- _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
-- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
-+ _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects $wl-soname $wl$soname -o $lib'
-+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
+- _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared $stdlibflag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared $stdlibflag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
++ _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared $stdlibflag $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects $wl-soname $wl$soname -o $lib'
++ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared $stdlibflag $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
_LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
-@@ -6617,7 +6617,7 @@ if test yes != "$_lt_caught_CXX_error";
+@@ -6758,7 +6758,7 @@ if test yes != "$_lt_caught_CXX_error";
# linker, instead of GNU ld. If possible, this setting should
# overridden to take advantage of the native linker features on
# the platform it is being used on.
-- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
-+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $lib'
+- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $stdlibflag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
++ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $stdlibflag $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $lib'
fi
# Commands to make compiler produce verbose output that lists
-@@ -6888,7 +6888,7 @@ if test yes != "$_lt_caught_CXX_error";
+@@ -7035,7 +7035,7 @@ if test yes != "$_lt_caught_CXX_error";
_LT_TAGVAR(file_list_spec, $1)='@'
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
-- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $stdlibflag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
++ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $stdlibflag $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
# If the export-symbols file already is a .def file, use it as
# is; otherwise, prepend EXPORTS...
_LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
-@@ -6897,7 +6897,7 @@ if test yes != "$_lt_caught_CXX_error";
+@@ -7044,7 +7044,7 @@ if test yes != "$_lt_caught_CXX_error";
echo EXPORTS > $output_objdir/$soname.def;
cat $export_symbols >> $output_objdir/$soname.def;
fi~
-- $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-+ $CC -shared -nostdlib $output_objdir/$soname.def $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
+- $CC -shared $stdlibflag $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
++ $CC -shared $stdlibflag $output_objdir/$soname.def $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
else
_LT_TAGVAR(ld_shlibs, $1)=no
fi
-@@ -7140,8 +7140,8 @@ if test yes != "$_lt_caught_CXX_error";
+@@ -7290,8 +7290,8 @@ if test yes != "$_lt_caught_CXX_error";
# KCC will only create a shared library if the output file
# ends with ".so" (or ".sl" for HP-UX), so rename the library
# to its proper name (with version) after linking.
@@ -209,7 +209,7 @@
# Commands to make compiler produce verbose output that lists
# what "hidden" libraries, object files and flags are used when
# linking a shared library.
-@@ -7167,16 +7167,16 @@ if test yes != "$_lt_caught_CXX_error";
+@@ -7317,16 +7317,16 @@ if test yes != "$_lt_caught_CXX_error";
# earlier do not add the objects themselves.
case `$CC -V 2>&1` in
*"Version 7."*)
@@ -230,7 +230,7 @@
;;
esac
_LT_TAGVAR(archive_cmds_need_lc, $1)=no
-@@ -7252,8 +7252,8 @@ if test yes != "$_lt_caught_CXX_error";
+@@ -7402,8 +7402,8 @@ if test yes != "$_lt_caught_CXX_error";
*Sun\ C*)
# Sun C++ 5.9
_LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
@@ -241,7 +241,7 @@
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
_LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
_LT_TAGVAR(compiler_needs_object, $1)=yes
-@@ -7322,10 +7322,10 @@ if test yes != "$_lt_caught_CXX_error";
+@@ -7470,10 +7470,10 @@ if test yes != "$_lt_caught_CXX_error";
_LT_TAGVAR(hardcode_direct, $1)=yes
_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
_LT_TAGVAR(hardcode_direct_absolute, $1)=yes
@@ -254,39 +254,39 @@
_LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
_LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
fi
-@@ -7451,9 +7451,9 @@ if test yes != "$_lt_caught_CXX_error";
+@@ -7599,9 +7599,9 @@ if test yes != "$_lt_caught_CXX_error";
# Sun C++ 4.2, 5.x and Centerline C++
_LT_TAGVAR(archive_cmds_need_lc,$1)=yes
_LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
- _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+ _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
- _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-- $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
-+ $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$RM $lib.exp'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.expsym~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.expsym~echo "local: *; };" >> $lib.expsym~
+- $CC -G$allow_undefined_flag $wl-M $wl$lib.expsym -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.expsym'
++ $CC -G$allow_undefined_flag $wl-M $wl$lib.expsym -h$soname -o $lib $predep_objects $compiler_flags $libobjs $deplibs $postdep_objects~$RM $lib.expsym'
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-@@ -7488,9 +7488,9 @@ if test yes != "$_lt_caught_CXX_error";
+@@ -7636,9 +7636,9 @@ if test yes != "$_lt_caught_CXX_error";
if test yes,no = "$GXX,$with_gnu_ld"; then
_LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs'
if $CC --version | $GREP -v '^2\.7' > /dev/null; then
-- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
-+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects $wl-h $wl$soname -o $lib'
- _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-- $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
-+ $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$RM $lib.exp'
+- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $stdlibflag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
++ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $stdlibflag $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects $wl-h $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.expsym~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.expsym~echo "local: *; };" >> $lib.expsym~
+- $CC -shared $pic_flag $stdlibflag $wl-M $wl$lib.expsym $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.expsym'
++ $CC -shared $pic_flag $stdlibflag $wl-M $wl$lib.expsym $wl-h $wl$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$RM $lib.expsym'
# Commands to make compiler produce verbose output that lists
# what "hidden" libraries, object files and flags are used when
-@@ -7499,9 +7499,9 @@ if test yes != "$_lt_caught_CXX_error";
+@@ -7647,9 +7647,9 @@ if test yes != "$_lt_caught_CXX_error";
else
# g++ 2.7 appears to require '-G' NOT '-shared' on this
# platform.
-- _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
-+ _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects $wl-h $wl$soname -o $lib'
- _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-- $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
-+ $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$RM $lib.exp'
+- _LT_TAGVAR(archive_cmds, $1)='$CC -G $stdlibflag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
++ _LT_TAGVAR(archive_cmds, $1)='$CC -G $stdlibflag $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects $wl-h $wl$soname -o $lib'
+ _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.expsym~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.expsym~echo "local: *; };" >> $lib.expsym~
+- $CC -G $stdlibflag $wl-M $wl$lib.expsym $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.expsym'
++ $CC -G $stdlibflag $wl-M $wl$lib.expsym $wl-h $wl$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$RM $lib.expsym'
# Commands to make compiler produce verbose output that lists
# what "hidden" libraries, object files and flags are used when
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libtool.git/commitdiff/72cc85a7d69170e64f2070921ee3eb53e1afded6
More information about the pld-cvs-commit
mailing list