libtool-patches
[Top][All Lists]
Advanced

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

Re: [Patch #111] Darwin convenience lib fix


From: Boehne, Robert
Subject: Re: [Patch #111] Darwin convenience lib fix
Date: Thu, 02 May 2002 15:33:49 -0500

FYI: I reformatted the patch for proper indentaion with tabs,
and made up my own ChangeLog entry because I couldn't find the
original.
I tested the patch on some 6 unicies, but couldn't find any
regressions.
Checking in on all branches.

Robert

2002-05-02  Dave Vasilevsky  <address@hidden>

        * ltmain.in: Remove convenience libraries from deplibs for Darwin.


-- 
Robert Boehne             Software Engineer
Ricardo Software   Chicago Technical Center
TEL: (630)789-0003 x. 238
FAX: (630)789-0127
email:  rboehne AT ricardo-us DOT com

Index: ltmain.in
===================================================================
RCS file: /cvsroot/libtool/libtool/ltmain.in,v
retrieving revision 1.293
diff -u -r1.293 ltmain.in
--- ltmain.in   14 Apr 2002 21:34:04 -0000      1.293
+++ ltmain.in   2 May 2002 14:37:36 -0000
@@ -3300,7 +3300,18 @@
        if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
          eval cmds=\"$archive_expsym_cmds\"
        else
+         save_deplibs="$deplibs"
+         for conv in $convenience; do
+           tmp_deplibs=
+           for test_deplib in $deplibs; do
+             if test "$test_deplib" != "$conv"; then
+               tmp_deplibs="$tmp_deplibs $test_deplib"
+             fi
+           done
+           deplibs="$tmp_deplibs"
+         done
          eval cmds=\"$archive_cmds\"
+         deplibs="$save_deplibs"
        fi
 
        if len=`expr "X$cmds" : ".*"` &&

reply via email to

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