diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-08-16 15:35:47 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-08-17 09:10:12 +0200 |
commit | 34e3857d9855197bb52a4056ad1f2a95a67d08f8 (patch) | |
tree | f62c3824e30a5732a94e9ceceaeea5a1561c87b0 /package | |
parent | d3ab60a1ee008273fb895c8a656247d7535d0a0c (diff) | |
download | buildroot-34e3857d9855197bb52a4056ad1f2a95a67d08f8.tar.gz buildroot-34e3857d9855197bb52a4056ad1f2a95a67d08f8.zip |
nftables: fix build in static scenarios
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 <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package')
-rw-r--r-- | package/nftables/nftables.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package/nftables/nftables.mk b/package/nftables/nftables.mk index b25e8f246c..b3abbc0dd9 100644 --- a/package/nftables/nftables.mk +++ b/package/nftables/nftables.mk @@ -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)) |