aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink/ldlinux
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/elflink/ldlinux
parentddb10ce99c327888ade4d2ba3e4c50ad12aaa059 (diff)
downloadsyslinux-3bede445728bfc519f649d69d6e0bcc196ed74de.tar.gz
syslinux-3bede445728bfc519f649d69d6e0bcc196ed74de.tar.xz
syslinux-3bede445728bfc519f649d69d6e0bcc196ed74de.zip
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/elflink/ldlinux')
-rw-r--r--com32/elflink/ldlinux/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/elflink/ldlinux/Makefile b/com32/elflink/ldlinux/Makefile
index 93ca127d..43ea632b 100644
--- a/com32/elflink/ldlinux/Makefile
+++ b/com32/elflink/ldlinux/Makefile
@@ -22,7 +22,7 @@ all: ldlinux.c32 ldlinux_lnx.a
ldlinux.c32 : ldlinux.o cli.o readconfig.o refstr.o colors.o getadv.o \
adv.o execute.o chainboot.o kernel.o get_key.o \
advwrite.o setadv.o eprintf.o loadhigh.o msg.o
- $(LD) $(LDFLAGS) -o $@ $^ $(LIBS)
+ $(LD) $(LDFLAGS) -soname $(@F) -o $@ $^ $(LIBS)
LNXCFLAGS += -D__export='__attribute__((visibility("default")))'
LNXLIBOBJS = get_key.lo