trylink: s/strip/$STRIP/g
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Wed, 10 Oct 2007 10:05:35 +0000 (10:05 +0000)
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Wed, 10 Oct 2007 10:05:35 +0000 (10:05 +0000)
git-svn-id: svn://busybox.net/trunk/busybox@20213 69ca8d6d-28ef-0310-b511-8ec308f3f277

scripts/trylink

index 524e83c..fc87df0 100755 (executable)
@@ -186,7 +186,7 @@ if test "$CONFIG_BUILD_LIBBUSYBOX" = y; then
        cat $EXE.out
        exit 1
     }
-    strip -s --remove-section=.note --remove-section=.comment $EXE -o "$sharedlib_dir/libbusybox.so.$BB_VER"
+    $STRIP -s --remove-section=.note --remove-section=.comment $EXE -o "$sharedlib_dir/libbusybox.so.$BB_VER"
     chmod a+x "$sharedlib_dir/libbusybox.so.$BB_VER"
     echo "libbusybox: $sharedlib_dir/libbusybox.so.$BB_VER"
 fi
@@ -208,7 +208,7 @@ if test "$CONFIG_FEATURE_SHARED_BUSYBOX" = y; then
        cat $EXE.out
        exit 1
     }
-    strip -s --remove-section=.note --remove-section=.comment $EXE -o "$sharedlib_dir/busybox"
+    $STRIP -s --remove-section=.note --remove-section=.comment $EXE -o "$sharedlib_dir/busybox"
     echo "busybox linked against libbusybox: $sharedlib_dir/busybox"
 fi
 
@@ -247,7 +247,7 @@ int main(int argc, char **argv)
            exit 1
        }
        rm -- "$sharedlib_dir/applet.c" $EXE.out
-       strip -s --remove-section=.note --remove-section=.comment $EXE
+       $STRIP -s --remove-section=.note --remove-section=.comment $EXE
 
     done <applet_lst.tmp
 fi