On 10/05/2010 10:20 PM, Ciaran McCreesh wrote:
as-needed fixes nothing. It works around some things, and introduces
some fairly icky problems as consequences. See the deleted comments on
Diego's blog posts for details.

We discussed that to death, you are wrong abusing overlinking in your pet project and what you were asking for is exactly the as-needed behaviour.

the problem is that libtool mangles also library search paths when
using .la files and that breaks in a number of situations we have in
some sort of normal uses of Gentoo.

Ah, so you'll be giving us a patch to test for that too, right? Fixing
the actual problem, rather than adding workarounds to a thousand or so
packages...

Apparently you do not know how libtool works or you are deliberately ignoring it... The patch is stupid (see below) but then you'd have to run libtoolize on every package you want to fix.

@@ -5936,7 +5936,7 @@
searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
          fi
          for searchdir in $searchdirs; do
-           for search_ext in .la $std_shrext .so .a; do
+           for search_ext in $std_shrext .so .a .la; do
              # Search the libtool library
              lib="$searchdir/lib${name}${search_ext}"
              if test -f "$lib"; then



lu

--

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero


Reply via email to