From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 23EC658FE for ; Tue, 23 Dec 2014 14:05:18 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP; 23 Dec 2014 05:05:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,632,1413270000"; d="scan'208";a="659014628" Received: from irsmsx109.ger.corp.intel.com ([163.33.3.23]) by orsmga002.jf.intel.com with ESMTP; 23 Dec 2014 05:05:17 -0800 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.71]) by IRSMSX109.ger.corp.intel.com ([169.254.13.244]) with mapi id 14.03.0195.001; Tue, 23 Dec 2014 13:05:16 +0000 From: "Gonzalez Monroy, Sergio" To: Neil Horman , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 3/4] Add library version extenstion Thread-Index: AQHQHiVjrOP1ur1sFE+e/sR5B8yDDZydIxUg Date: Tue, 23 Dec 2014 13:05:16 +0000 Message-ID: <91383E96CE459D47BCE92EFBF5CE73B004F210AA@IRSMSX108.ger.corp.intel.com> References: <1419109299-9603-1-git-send-email-nhorman@tuxdriver.com> <1419279860-16985-1-git-send-email-nhorman@tuxdriver.com> <1419279860-16985-3-git-send-email-nhorman@tuxdriver.com> In-Reply-To: <1419279860-16985-3-git-send-email-nhorman@tuxdriver.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2 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 13:05:19 -0000 > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Neil Horman > Sent: Monday, December 22, 2014 8:24 PM > > a/mk/rte.lib.mk b/mk/rte.lib.mk index 7949254..ad058b5 100644 > --- a/mk/rte.lib.mk > +++ b/mk/rte.lib.mk > @@ -166,9 +171,11 @@ endif > # install lib in $(RTE_OUTPUT)/lib > # > $(RTE_OUTPUT)/lib/$(LIB): $(LIB) > + $(eval LIBSONAME :=3D $(basename $(LIB))) > @echo " INSTALL-LIB $(LIB)" > @[ -d $(RTE_OUTPUT)/lib ] || mkdir -p $(RTE_OUTPUT)/lib > $(Q)cp -f $(LIB) $(RTE_OUTPUT)/lib > + $(Q)ln -s -f $(RTE_OUTPUT)/lib/$(LIB) > $(RTE_OUTPUT)/lib/$(LIBSONAME) >=20 Sorry Neil, I missed this before. We probably only want to do symbolic links for shared libs. At the moment i= t creates lots of unwanted links for static libs too. Also, I would suggest to do relative symbolic links instead. Regards, Sergio > -- > 1.9.3