]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- find last entry in symlink chain
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 26 Nov 2006 22:31:17 +0000 (22:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-libtool-deps.patch -> 1.2

rpm-libtool-deps.patch

index b09234312cdeb21c20c29483f70fdd75e9e857a9..bbcb65407de9961ab6ced3331bb9a4fdd6bc581d 100644 (file)
@@ -1,12 +1,21 @@
 diff -urN rpm-4.4.6.org/scripts/libtooldeps.sh rpm-4.4.6/scripts/libtooldeps.sh
 --- rpm-4.4.6.org/scripts/libtooldeps.sh       2005-11-12 22:20:42.000000000 +0100
 +++ rpm-4.4.6/scripts/libtooldeps.sh   2006-11-26 20:06:49.254008750 +0100
-@@ -13,7 +13,7 @@
+@@ -13,7 +13,8 @@
      do
        case "$possible" in
        *.la)
 -          if grep -iq '^# Generated by ltmain.sh' "$possible" 2> /dev/null ; then
++          $possible="`readlink -f "$possible"`"
 +          if file "$possible" | grep -iq 'libtool library file' 2> /dev/null ; the
                possible="`echo ${possible} | sed -e s,${RPM_BUILD_ROOT}/,/,`"
                echo "libtool($possible)"
            fi
+@@ -30,6 +31,7 @@
+           do
+               case "$dep" in
+               /*.la)
++                  $dep="`readlink -f "$dep"`"
+                   echo "libtool($dep)"
+                   ;;
+               esac
This page took 0.052684 seconds and 4 git commands to generate.