aboutsummaryrefslogtreecommitdiff
path: root/scripts/trylink
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/trylink')
-rwxr-xr-xscripts/trylink6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/trylink b/scripts/trylink
index 524e83c92..fc87df032 100755
--- a/scripts/trylink
+++ b/scripts/trylink
@@ -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