Maynard Johnson wrote:
> Peter O'Gorman wrote:
>> Hi Maynard,
>>
>> I was hoping that your problems would all be gone :)
>>
>>  
>>> That certainly helped!  We're getting further than before, but now
>>> failing when building a C++ library as follows:


If you patch your ltmain.sh with this (bad hack) patch then I think it
will work.

Let me know if it does and I will work on a better patch and test case
prior to releasing 1.5.26.

Thanks,
Peter
-- 
Peter O'Gorman
http://pogma.com
diff -u -r1.334.2.148 ltmain.in
--- ltmain.sh	21 Jan 2008 17:47:51 -0000	1.334.2.148
+++ ltmain.sh	21 Jan 2008 20:41:14 -0000
@@ -2155,8 +2155,12 @@
 	    $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
 	    continue
 	  fi
+	  lib_compiler_search_path=
+	  if test "$linkmode" = lib; then
+	    test -n "$compiler_lib_search_path" && lib_compiler_search_path=`echo " $compiler_lib_search_path" | sed -e's! -L! !g'`
+	  fi
 	  name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
-	  for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
+	  for searchdir in $newlib_search_path $lib_search_path $lib_compiler_search_path $sys_lib_search_path $shlib_search_path; do
 	    for search_ext in .la $std_shrext .so .a; do
 	      # Search the libtool library
 	      lib="$searchdir/lib${name}${search_ext}"
_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to