From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] mk: Add DT_SONAME to shared libraries Date: Wed, 04 Feb 2015 23:33:55 +0100 Message-ID: <3497152.YXM3ImxkSG@xps13> References: <12505651f6361349aca43b8c2e9e19f8b7901e57.1423038170.git.pmatilai@redhat.com> <20150204114327.GB29569@hmsreliant.think-freely.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Panu Matilainen Return-path: In-Reply-To: <20150204114327.GB29569-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 2015-02-04 06:43, Neil Horman: > On Wed, Feb 04, 2015 at 10:22:50AM +0200, Panu Matilainen wrote: > > This is all-important now that the libraries are versioned: DT_SONAME > > presence instructs the runtime dynamic linker to load the shared object > > by the versioned name in DT_SONAME instead of the the unversioned symlink > > name used during build. > > > > Signed-off-by: Panu Matilainen > > -O_TO_S = $(LD) $(_CPU_LDFLAGS) -shared $(OBJS-y) -o $(LIB) > > +O_TO_S = $(LD) $(_CPU_LDFLAGS) -shared $(OBJS-y) -Wl,-soname,$(LIB) -o $(LIB) > Acked-by: Neil Horman Applied, thanks.