On 3/30/2017 1:32 PM, Olivier Matz wrote: > In rte.lib.mk, the list of libraries passed to the link > command (LDLIBS) is generated from the DEPDIRS-xxx variables. > If a library is not compiled because it is disabled in > configuration, it should not appear in DEPDIRS-xxx. > > - librte_port depends on librte_kni only if it is enabled. > - librte_table depends on librte_acl only if it is enabled. > > Fixes: feb9f680cd2c ("mk: optimize directory dependencies") > Reported-by: Ferruh Yigit <ferruh.yi...@intel.com> > Signed-off-by: Olivier Matz <olivier.m...@6wind.com>
Tested-by: Ferruh Yigit <ferruh.yi...@intel.com>