summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDenis Vlasenko2007-10-11 10:06:26 +0000
committerDenis Vlasenko2007-10-11 10:06:26 +0000
commit15cb4a42724e480734157a55921ba435ed1413fc (patch)
tree81648e3f71bad18e88e19cb8efe094a10d94ab15 /scripts
parent9b49a5ed8551e46892af3f676e5d96d21b540e3c (diff)
downloadbusybox-15cb4a42724e480734157a55921ba435ed1413fc.zip
busybox-15cb4a42724e480734157a55921ba435ed1413fc.tar.gz
fix a problem with two different applet_name's
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/trylink6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/trylink b/scripts/trylink
index 25629aa..7fe262b 100755
--- a/scripts/trylink
+++ b/scripts/trylink
@@ -220,14 +220,12 @@ if test "$CONFIG_FEATURE_INDIVIDUAL" = y; then
while read name main junk; do
echo "\
-void lbb_prepare(char **argv);
+void lbb_prepare(const char *applet, char **argv);
int $main(int argc, char **argv);
-const char *applet_name = \"$name\";
-
int main(int argc, char **argv)
{
- lbb_prepare(argv);
+ lbb_prepare(\"$name\", argv);
return $main(argc, argv);
}
" >"$sharedlib_dir/applet.c"