01/05/2017 22:10, Thomas Monjalon:
> From: Markos Chandras <[email protected]>
> 
> When RTE_DEVEL_BUILD is unset, -rpath is unset.
> So the ethtool app cannot link with ixgbe shared library
> which is required by ethtool lib:
> 
> warning: librte_pmd_ixgbe.so.1, needed by
> examples/ethtool/lib/x86_64-native-linuxapp-gcc/lib/librte_ethtool.so,
> not found (try using -rpath or -rpath-link)
> 
> It is fixed by adding the library in the application link.
> 
> The library link is also improved to specify that this explicit link
> to ixgbe is needed only in the shared lib mode.
> 
> Fixes: 077d223e25c3 ("examples/ethtool: use ixgbe public function")
> 
> Signed-off-by: Markos Chandras <[email protected]>
> Acked-by: Remy Horton <[email protected]>
> Acked-by: Timothy Redaelli <[email protected]>
> Signed-off-by: Thomas Monjalon <[email protected]>
> ---
> v2: add condition on CONFIG_RTE_BUILD_SHARED_LIB

Applied, thanks

Reply via email to