On 3/21/2016 11:33 AM, Panu Matilainen wrote: > 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 at intel.com> > Signed-off-by: Panu Matilainen <pmatilai at redhat.com>
Tested-by: Ferruh Yigit <ferruh.yigit at intel.com>