From 3bede445728bfc519f649d69d6e0bcc196ed74de Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 3 Jan 2013 09:29:51 -0800 Subject: elflink: set the sonames of shared libraries Set the sonames of shared libraries to the filename, so we don't end up with full pathnames embedded in the files. --- com32/libutil/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'com32/libutil/Makefile') diff --git a/com32/libutil/Makefile b/com32/libutil/Makefile index 93c0c11c..fb437dc7 100644 --- a/com32/libutil/Makefile +++ b/com32/libutil/Makefile @@ -42,7 +42,7 @@ LNXLIBOBJS = $(patsubst %.o,%.lo,$(LIBOBJS)) all: libutil_com.c32 libutil_lnx.a libutil_com.c32: $(LIBOBJS) - $(LD) $(LDFLAGS) -o $@ $^ + $(LD) $(LDFLAGS) -soname $(@F) -o $@ $^ libutil_lnx.a: $(LNXLIBOBJS) rm -f $@ -- cgit v1.2.1