build: fix libm detection in meson
authorDavid Marchand <david.marchand@redhat.com>
Thu, 9 Jan 2020 12:59:15 +0000 (13:59 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 9 Jan 2020 13:43:16 +0000 (14:43 +0100)
commit063c4c5fa0658e53d2187036532d1273acf5d645
tree01ec0ac1f7690e2359524806a75a733515d1e860
parent10060dba6455461088d24e03d3cfeba639d53022
build: fix libm detection in meson

Using version 0.47.1, meson is unable to find the math library in Travis
for the 32bits job.
Quite surprisingly, this problem is not seen with the 64bits jobs.

Switching to 0.48.0, the problem disappears.

But we should pass 'm' to find_library instead of 'libm' anyway.

Fixes: 98edcbb5ab2f ("eal/windows: introduce Windows support")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
config/meson.build