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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since c2b8e07 was d1afb9e, checked in by Jim Gifford <clfs@…>, 19 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.