From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id DA5BC3989 for ; Tue, 23 Dec 2014 17:44:35 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 23 Dec 2014 08:44:33 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,632,1413270000"; d="scan'208";a="659110388" Received: from irsmsx104.ger.corp.intel.com ([163.33.3.159]) by orsmga002.jf.intel.com with ESMTP; 23 Dec 2014 08:44:33 -0800 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.71]) by IRSMSX104.ger.corp.intel.com ([169.254.5.209]) with mapi id 14.03.0195.001; Tue, 23 Dec 2014 16:44:32 +0000 From: "Gonzalez Monroy, Sergio" To: Neil Horman , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v3 3/4] Add library version extenstion Thread-Index: AQHQHsiVIhVpMIRbMEmCrOpq8BVGR5ydYASw Date: Tue, 23 Dec 2014 16:44:32 +0000 Message-ID: <91383E96CE459D47BCE92EFBF5CE73B004F21155@IRSMSX108.ger.corp.intel.com> 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> In-Reply-To: <1419349913-21674-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 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 16:44:36 -0000 > 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 :=3D $(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 >=20 For the relative symbolic link I meant the -r option: ln -r -s -f $(RTE_OUTPUT)/lib /$(LIB) $(RTE_OUTPUT)/lib/$(LIBSONAME) But this works too so I leave it up to you whether to change it or not. Regards, Sergio > # > # Clean all generated files > -- > 1.9.3