[dpdk-dev] [PATCH 01/15] makefiles: Fixed -share command line option error

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Apr 16 11:22:35 CEST 2014


Hi,

2014-04-15 14:05, Neil Horman:
> The shared libraries built with the current makefile set produce static
> libraries rather than actual shared objects.  This is due to several missing
> options that are required to correctly build shared objects using ld, as
> well as a mis-specified -share option (which should be -shared). Switching
> to the use of CC rather than LD and fixing the -shared option corrects
> these problems and builds the DSOs correctly.
> 
> Signed-off-by: Neil Horman <nhorman at tuxdriver.com>

Thanks for fixing -shared option.

Regarding switch to CC linking, please have a look at LINK_USING_CC option.
Maybe you should use it for rte.lib.mk and rte.sharelib.mk.

-- 
Thomas


More information about the dev mailing list