summaryrefslogtreecommitdiff
path: root/com32/libutil/Makefile
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2013-01-03 09:29:51 -0800
committerH. Peter Anvin <hpa@linux.intel.com>2013-01-03 09:29:51 -0800
commit3bede445728bfc519f649d69d6e0bcc196ed74de (patch)
tree5148c62933f5403294a0ddabef32f598838368a5 /com32/libutil/Makefile
parentddb10ce99c327888ade4d2ba3e4c50ad12aaa059 (diff)
downloadsyslinux-3bede445728bfc519f649d69d6e0bcc196ed74de.tar.gz
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.
Diffstat (limited to 'com32/libutil/Makefile')
-rw-r--r--com32/libutil/Makefile2
1 files changed, 1 insertions, 1 deletions
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 $@