diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-10-11 10:06:26 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-10-11 10:06:26 +0000 |
commit | 15cb4a42724e480734157a55921ba435ed1413fc (patch) | |
tree | 81648e3f71bad18e88e19cb8efe094a10d94ab15 /scripts | |
parent | 9b49a5ed8551e46892af3f676e5d96d21b540e3c (diff) | |
download | busybox-15cb4a42724e480734157a55921ba435ed1413fc.tar.gz |
fix a problem with two different applet_name's
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/trylink | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/trylink b/scripts/trylink index 25629aa1a..7fe262baa 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" |