mk: fix missing libm dependencies
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 21 Mar 2016 11:33:58 +0000 (13:33 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 22 Mar 2016 19:42:47 +0000 (20:42 +0100)
commit8bc6573fb3a0108bd636c2187713b07f57a3c0d9
tree21dcfce42c7a0a70c5c380de5b4fd07d9090ae0c
parentedf4d331dcdb757da8c50850152be4cf948d2787
mk: fix missing libm dependencies

Commit e86a699cf6b1 missed two further libm dependencies: ceil() used
by librte_meter is typically inlined so the missing dependency does not
actually cause failures, and librte_pmd_nfp is not built by default
so its easy to miss.

This causes duplicates in LDLIBS in many configurations so its vital
they are removed before passing to linker.

Fixes: e86a699cf6b1 ("mk: fix shared library dependencies on libm and librt")

Reported-by: Ferruh Yigit <ferruh.yigit@intel.com>
Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
Tested-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/nfp/Makefile
lib/librte_meter/Makefile
mk/rte.app.mk