bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: link-2.test


From: Golubev I. N.
Subject: Re: link-2.test
Date: Sun, 23 Sep 2001 15:54:40 (GMT)

> > or change `ltmain.in' to run "$lo2o" regardless of "$build_old_libs"?
> 
> It is certainly a bug for libtool not to do lo2o filtering if static
> builds have been turned off for some reason

It can be fixed for *me and* libtool-1.4.2 surprisingly easily.
Perhaps I do not understand what I do, and `test "$build_old_libs" =
yes' should be replaced with some other test, but I fail to detect
that since all tests pass on my system (`i586-pc-sco3.2v5.0.2').

--- ltmain.in   2001/09/11 15:30:56     1.1
+++ ltmain.in   2001/09/11 15:34:51     1.2
@@ -3213,7 +3213,7 @@
       fi
       finalize_rpath="$rpath"
 
-      if test -n "$libobjs" && test "$build_old_libs" = yes; then
+      if test -n "$libobjs"; then
        # Transform all the library objects into standard objects.
        compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" 
| $NL2SP`
        finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e 
"$lo2o" | $NL2SP`



reply via email to

[Prev in Thread] Current Thread [Next in Thread]