From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] nmap: use system liblinear
Date: Thu, 11 Oct 2018 10:07:03 +0200 [thread overview]
Message-ID: <20181011100703.60d25373@windsurf> (raw)
In-Reply-To: <20181009172217.9386-1-fontaine.fabrice@gmail.com>
Hello,
On Tue, 9 Oct 2018 19:22:17 +0200, Fabrice Fontaine wrote:
> Use system liblinear instead of using included liblinear.
> liblinear in buildroot is at version 2.20 released on December 2017
> whereas liblinear in nmap has not been updated since 7 years (except for
> liblinear.vcxproj which has been updated 2 years ago)
>
> Do not use --with-liblinear option as otherwise nmap will forget to add
> -llinear to LIBS due to the following line in configure.ac:
>
> if test $have_liblinear != yes; then
> AC_CHECK_HEADERS([linear.h],
> AC_CHECK_LIB(linear, predict, [have_liblinear=yes; LIBLINEAR_LIBS="-llinear"; break],, [-lm])
> )
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/nmap/Config.in | 1 +
> package/nmap/nmap.mk | 4 ++--
> 2 files changed, 3 insertions(+), 2 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2018-10-11 8:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-09 17:22 [Buildroot] [PATCH 1/1] nmap: use system liblinear Fabrice Fontaine
2018-10-11 8:07 ` Thomas Petazzoni [this message]
2018-10-24 10:28 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181011100703.60d25373@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox