summaryrefslogtreecommitdiff
path: root/com32/lib/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/lib/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/lib/Makefile')
-rw-r--r--com32/lib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/lib/Makefile b/com32/lib/Makefile
index 84f65c1f..7806230b 100644
--- a/com32/lib/Makefile
+++ b/com32/lib/Makefile
@@ -216,7 +216,7 @@ all: libcom32.c32 libcom32min.a libcom32core.a
libcom32.c32 : $(LIBOBJS)
rm -f $@
- $(LD) -shared $(LDFLAGS) -o $@ $^
+ $(LD) -shared $(LDFLAGS) -soname $(@F) -o $@ $^
libcom32min.a : $(MINLIBOBJS)
rm -f $@