On Friday 13 July 2007 09:08, Ross Cameron wrote:
> The busybox applets all combine and are delivered as a single binary
> that is called via symlinks,... using argv[0] to figure out which
> applet to call.
> 
> Therefor,... by that logic I would think that linking busybox as a
> whole against ncurses will do what you need.
> 
> Not 100% sure,... just a  guess
> 
> On 13/07/07, Farnik Stefan <[EMAIL PROTECTED]> wrote:
> > Hi there,
> >
> > maybe you can help me.
> >
> > How can I link an applet (using busybox-1.4.2) statically against ncurses?
> > Where do I configure this? There aren't hints for this in Kbuild or 
> > something else.
> >
> > Or should I linky complete busybox instead against ncurses? (How to do 
> > this?)

You need to link a program againt the library only if you are actually using
something from the library. Unmodified bbox doesn't use ncurses, thus
I don't understand why you want to link it against ncurses.

Anyway, if you are modifying bbox so that it indeed needs ncurses now,
then you can follow SELinux example in Makefile.flags:

ifeq ($(CONFIG_SELINUX),y)
LDLIBS += -lselinux -lsepol
endif

or you can modify scripts/trylink.
--
vda
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to