On 2/28/21 10:50 PM, Josef wrote: > Hi, > > when I set the config build BusyBox as a static binary (no shared > libs) I get "cannot find -lcrypt" build error, however the crypt > library exist for example when I run 'gcc test.c -lcrypt' it works, > I'm not quite sure, it seems that busybox uses a different ld library > path
Your test seems to be invalid. 'gcc test.c -lcrypt' is trying and succeeding at dynamically linking the binary, which doesn't really tell you anything about whether test.c would be able to statically link. -- Eli Schwartz Arch Linux Bug Wrangler and Trusted User
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox