made linker scripts more 'ldconfig' friendly

This commit is contained in:
ensc 2010-02-21 11:37:09 +00:00
parent 4ff730c5d3
commit 4f23ce01a4
2 changed files with 9 additions and 2 deletions

View File

@ -31,11 +31,15 @@ done | ./depsort | while read lib deps; do
echo "bad file '$link'" >&2 echo "bad file '$link'" >&2
exit 1 exit 1
} }
rm -f $link
set -- $deps set -- $deps
test $# -ne 0 || continue
rm -f $link
{ {
echo '/* GNU ld script */'
echo -n "INPUT($LIBDIR/$lib" echo -n "INPUT($LIBDIR/$lib"
d= d=
if test "$#" -gt 0; then if test "$#" -gt 0; then

View File

@ -6,7 +6,7 @@
Summary: A lightweight RPC library based on XML and HTTP Summary: A lightweight RPC library based on XML and HTTP
Name: xmlrpc-c Name: xmlrpc-c
Version: 1.21.00 Version: 1.21.00
Release: %release_func 1301.%svnrev Release: %release_func 1400.%svnrev
# See COPYING for details. # See COPYING for details.
# The Python 1.5.2 license used by a few files is just BSD. # The Python 1.5.2 license used by a few files is just BSD.
License: BSD and MIT License: BSD and MIT
@ -231,6 +231,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Sun Feb 21 2010 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.21.00-1400.1851
- made linker scripts more 'ldconfig' friendly
* Mon Feb 15 2010 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.21.00-1301.1851 * Mon Feb 15 2010 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.21.00-1301.1851
- replaced .so symlinks by linker scripts which add all implicit - replaced .so symlinks by linker scripts which add all implicit
dependencies in AS_NEEDED() commands (#564607, #565577) dependencies in AS_NEEDED() commands (#564607, #565577)