From: Thomas Monjalon Date: Wed, 17 Dec 2014 18:38:21 +0000 (+0100) Subject: mk: fix link examples to combined library X-Git-Tag: spdx-start~9914 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f113d41051ae1d8528b6faeba653c8cb19a19462;p=dpdk.git mk: fix link examples to combined library RTE_LIBNAME was defined only if BUILDING_RTE_SDK. So external applications like examples were trying to link with -l without any library name. This bug appeared after fixing link to combined library (removing link to separate libraries). Signed-off-by: Thomas Monjalon --- diff --git a/mk/rte.vars.mk b/mk/rte.vars.mk index 1e874ee343..d5b36bedd9 100644 --- a/mk/rte.vars.mk +++ b/mk/rte.vars.mk @@ -71,10 +71,11 @@ ifneq ($(BUILDING_RTE_SDK),) ifeq ($(RTE_BUILD_COMBINE_LIBS),) RTE_BUILD_COMBINE_LIBS := n endif - RTE_LIBNAME := $(CONFIG_RTE_LIBNAME:"%"=%) - ifeq ($(RTE_LIBNAME),) - RTE_LIBNAME := intel_dpdk - endif +endif + +RTE_LIBNAME := $(CONFIG_RTE_LIBNAME:"%"=%) +ifeq ($(RTE_LIBNAME),) +RTE_LIBNAME := intel_dpdk endif # RTE_TARGET is deducted from config when we are building the SDK.