package/kismet: fix ncurses static build
authorYann E. MORIN <yann.morin.1998@free.fr>
Fri, 26 Dec 2014 21:08:00 +0000 (22:08 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 27 Dec 2014 10:29:04 +0000 (11:29 +0100)
commit8b966c934db6b482fbba4c65cdbc49d1b19b5212
treea1d97ccde3b76f224dc20e3a6b2ba5924803a76e
parent21d6e4ea459b0b3a436c7936a94a917f085919e6
package/kismet: fix ncurses static build

Says Vicente:
    [T]he order is very important when doing static builds.
    Otherwise we will see errors like this one:

    [...]/sysroot/usr/lib/libpanel.a(p_delete.o):
    In function `del_panel':
    p_delete.c:(.text+0x68): undefined reference to `_nc_panelhook'

Fix the order configure adds libraries: new libraries should be added
at the *front* of the list, not at the end.

Reported-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/kismet/0003-fix-curses-libs-ordering.patch [new file with mode: 0644]
package/kismet/kismet.mk