From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id A3B9337AF for ; Wed, 27 Apr 2016 13:02:17 +0200 (CEST) Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BBF1A78224; Wed, 27 Apr 2016 11:02:16 +0000 (UTC) Received: from sopuli.koti.laiskiainen.org.com (vpn1-4-157.ams2.redhat.com [10.36.4.157]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u3RB2E2v002780; Wed, 27 Apr 2016 07:02:14 -0400 From: Panu Matilainen To: dev@dpdk.org Cc: thomas.monjalon@6wind.com, Tetsuya Mukawa , yuanhan.liu@linux.intel.com, huawei.xie@intel.com Date: Wed, 27 Apr 2016 14:02:09 +0300 Message-Id: X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 Subject: [dpdk-dev] [PATCH] mk: add build-time library directory to linker path X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2016 11:02:17 -0000 This is a pre-requisite for adding DT_NEEDED dependencies between internal libraries. Signed-off-by: Panu Matilainen --- mk/rte.lib.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mk/rte.lib.mk b/mk/rte.lib.mk index 8f7e021..b420280 100644 --- a/mk/rte.lib.mk +++ b/mk/rte.lib.mk @@ -86,8 +86,8 @@ O_TO_A_DO = @set -e; \ $(O_TO_A) && \ echo $(O_TO_A_CMD) > $(call exe2cmd,$(@)) -O_TO_S = $(LD) $(_CPU_LDFLAGS) $(EXTRA_LDFLAGS) -shared $(OBJS-y) $(LDLIBS) \ - -Wl,-soname,$(LIB) -o $(LIB) +O_TO_S = $(LD) -L$(RTE_OUTPUT)/lib $(_CPU_LDFLAGS) $(EXTRA_LDFLAGS) \ + -shared $(OBJS-y) $(LDLIBS) -Wl,-soname,$(LIB) -o $(LIB) 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_DO = @set -e; \ -- 2.5.5