From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id 3E7C019F5 for ; Tue, 23 Dec 2014 18:08:49 +0100 (CET) Received: from hmsreliant.think-freely.org ([2001:470:8:a08:7aac:c0ff:fec2:933b] helo=localhost) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1Y3Sws-00037L-Io; Tue, 23 Dec 2014 12:08:47 -0500 Date: Tue, 23 Dec 2014 12:08:40 -0500 From: Neil Horman To: "Gonzalez Monroy, Sergio" Message-ID: <20141223170840.GI31876@hmsreliant.think-freely.org> References: <1419109299-9603-1-git-send-email-nhorman@tuxdriver.com> <1419349913-21674-1-git-send-email-nhorman@tuxdriver.com> <1419349913-21674-3-git-send-email-nhorman@tuxdriver.com> <91383E96CE459D47BCE92EFBF5CE73B004F21155@IRSMSX108.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <91383E96CE459D47BCE92EFBF5CE73B004F21155@IRSMSX108.ger.corp.intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Score: -2.9 (--) X-Spam-Status: No Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v3 3/4] Add library version extenstion 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: Tue, 23 Dec 2014 17:08:49 -0000 On Tue, Dec 23, 2014 at 04:44:32PM +0000, Gonzalez Monroy, Sergio wrote: > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Neil Horman > > Sent: Tuesday, December 23, 2014 3:52 PM > > > > a/mk/rte.lib.mk b/mk/rte.lib.mk index 1d3b646..7326b8e 100644 > > --- a/mk/rte.lib.mk > > +++ b/mk/rte.lib.mk > > @@ -163,9 +168,13 @@ endif > > # install lib in $(RTE_OUTPUT)/lib > > # > > $(RTE_OUTPUT)/lib/$(LIB): $(LIB) > > + $(eval LIBSONAME := $(basename $(LIB))) > > @echo " INSTALL-LIB $(LIB)" > > @[ -d $(RTE_OUTPUT)/lib ] || mkdir -p $(RTE_OUTPUT)/lib > > $(Q)cp -f $(LIB) $(RTE_OUTPUT)/lib > > +ifeq ($(RTE_BUILD_SHARED_LIB),y) > > + $(Q)ln -s -f ./$(LIB) $(RTE_OUTPUT)/lib/$(LIBSONAME) endif > > > For the relative symbolic link I meant the -r option: > ln -r -s -f $(RTE_OUTPUT)/lib /$(LIB) $(RTE_OUTPUT)/lib/$(LIBSONAME) > I don't think theres any need to change it, given that they produce identical output > But this works too so I leave it up to you whether to change it or not. > I'm gong to leave it as is > Regards, > Sergio > > > # > > # Clean all generated files > > -- > > 1.9.3 > >