libtool-patches
[Top][All Lists]
Advanced

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

fix -R handling


From: Bruno Haible
Subject: fix -R handling
Date: Sat, 29 Mar 2003 13:09:39 +0100 (CET)

Hi,

As suggested by Robert Boehne, I'm now submitting the libtool patches
I've made for gettext and libiconv. My patches are relative to libtool-1.4.3;
I hope it's easy enough for you to apply them to the current CVS (otherwise
please make an 1.5 release and I'll port them to 1.5 and resubmit).

This patch was posted on a GNU mailing list by Albert Chin. It is essential
for use of libtool, libintl etc. on all platforms where the linker doesn't
understand the -R flag directly, like OSF/1. The -R flags from a .la's
dependency_libs are taken into account by a different variable and must be
ignored in this particular pass.


2003-01-03  Albert Chin  <address@hidden>

        * ltmain.sh: Don't pass -R flags found in a .la's dependency_libs
        variable directly down to the linker.
        Reported by Tim Mooney <address@hidden>.

*** libtool-1.4.3/ltmain.sh     2002-10-23 04:26:24.000000000 +0200
--- ltmain.sh   2003-02-18 21:53:41.000000000 +0100
***************
*** 2084,2089 ****
--- 2092,2098 ----
          for deplib in $tmp_libs; do
            case $deplib in
            -L*) new_libs="$deplib $new_libs" ;;
+           -R*) ;;
            *)
              case " $specialdeplibs " in
              *" $deplib "*) new_libs="$deplib $new_libs" ;;




reply via email to

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