Skip to content

Commit

Permalink
nftables: fix build in static scenarios
Browse files Browse the repository at this point in the history
When linking against readline, it forgets to link against ncurses,
which is needed by readline. Fix this by passing LIBS="-lcurses" to
the configure script.

Fixes:

  http://autobuild.buildroot.org/results/98b/98b707ffdeeb1cda94b7c1019ef29cf5fd7db8bf/

Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
  • Loading branch information
tpetazzoni authored and jacmet committed Aug 17, 2014
1 parent d3ab60a commit 34e3857
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package/nftables/nftables.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ NFTABLES_DEPENDENCIES = gmp libmnl libnftnl readline host-bison host-flex \
NFTABLES_LICENSE = GPLv2
NFTABLES_LICENSE_FILES = COPYING

NFTABLES_CONF_ENV = ac_cv_prog_CONFIG_PDF=no
NFTABLES_CONF_ENV = \
ac_cv_prog_CONFIG_PDF=no \
LIBS="-lncurses"

$(eval $(autotools-package))

0 comments on commit 34e3857

Please sign in to comment.