[dpdk-dev] [PATCH] mk: Add DT_SONAME to shared libraries
Thomas Monjalon
thomas.monjalon at 6wind.com
Wed Feb 4 23:33:55 CET 2015
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 <pmatilai at redhat.com>
> > -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 <nhorman at tuxdriver.com>
Applied, thanks.
More information about the dev
mailing list