source: scripts_home/scripts/untested/autotools/patches/libtool-1.4.2-archive-shared.patch@ 1c9c5c3

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 1c9c5c3 was 1c9c5c3, checked in by Jim Gifford <clfs@…>, 19 years ago

r624@server (orig r622): jim | 2005-10-31 12:40:28 -0800
Rearranging Archive

  • Property mode set to 100644
File size: 633 bytes
RevLine 
[d1afb9e]1--- libtool-1.4.2/ltmain.in.archive-shared 2002-07-15 09:12:03.000000000 -0400
2+++ libtool-1.4.2/ltmain.in 2002-07-15 09:13:04.000000000 -0400
3@@ -2644,6 +2644,13 @@ EOF
4 *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
5 esac
6 done
7+ # It is ok to link against an archive when
8+ # building a shared library.
9+ if $AR -t $potlib > /dev/null 2>&1; then
10+ newdeplibs="$newdeplibs $a_deplib"
11+ a_deplib=""
12+ break 2
13+ fi
14 if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
15 | sed 10q \
16 | egrep "$file_magic_regex" > /dev/null; then
Note: See TracBrowser for help on using the repository browser.