[dpdk-dev] [PATCH] mk: link combined shared library with compiler to enable elf ctors
Thomas Monjalon
thomas.monjalon at 6wind.com
Wed Oct 8 17:56:52 CEST 2014
Hi,
Sergio's patchset provides a fixed version of this patch:
http://dpdk.org/dev/patchwork/patch/715/
2014-10-06 22:56, michal:
> From: Michal Bella <michal.bella.78 at gmail.com>
>
> Signed-off-by: michal <michal.bella.78 at gmail.com>
> ---
> mk/rte.sharelib.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/mk/rte.sharelib.mk b/mk/rte.sharelib.mk
> index c0a811a..a315d98 100644
> --- a/mk/rte.sharelib.mk
> +++ b/mk/rte.sharelib.mk
> @@ -45,7 +45,7 @@ sharelib: $(LIB_ONE) FORCE
>
> OBJS = $(wildcard $(RTE_OUTPUT)/build/lib/*.o)
>
> -O_TO_S = $(LD) $(CPU_LDFLAGS) -shared $(OBJS) -o $(RTE_OUTPUT)/lib/$(LIB_ONE)
> +O_TO_S = $(CC) $(CPU_LDFLAGS) -shared $(OBJS) -o $(RTE_OUTPUT)/lib/$(LIB_ONE)
> O_TO_S_STR = $(subst ','\'',$(O_TO_S)) #'# fix syntax highlight
> O_TO_S_DISP = $(if $(V),"$(O_TO_S_STR)"," LD $(@)")
> O_TO_S_CMD = "cmd_$@ = $(O_TO_S_STR)"
More information about the dev
mailing list