source: scripts/untested/autotools/patches/libtool-1.4.2-archive-shared.patch @ d1afb9e

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since d1afb9e was d1afb9e, checked in by Jim Gifford <clfs@…>, 18 years ago

r587@server (orig r585): ryan | 2005-08-05 21:51:35 -0700
Add a sane autotools build to the mix.
Blatantly stolen from gentoo...



  • Property mode set to 100644
File size: 633 bytes
  • libtool-1.4.2/ltmain.in

    old new EOF 
    26442644                        *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
    26452645                        esac
    26462646                      done
     2647                      # It is ok to link against an archive when
     2648                      # building a shared library.
     2649                      if $AR -t $potlib > /dev/null 2>&1; then
     2650                        newdeplibs="$newdeplibs $a_deplib"
     2651                        a_deplib=""
     2652                        break 2
     2653                      fi
    26472654                      if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
    26482655                         | sed 10q \
    26492656                         | egrep "$file_magic_regex" > /dev/null; then
Note: See TracBrowser for help on using the repository browser.