aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/Makefile')
-rw-r--r--sysdeps/mach/hurd/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile
index afeefc6b4c..92a7bc4a8d 100644
--- a/sysdeps/mach/hurd/Makefile
+++ b/sysdeps/mach/hurd/Makefile
@@ -153,6 +153,7 @@ $(link-rpcuserlibs): %-link.so: %_pic.a
# so they don't need abi-note.o linked into them.
$(build-shlib-helper) \
-nostdlib -o $@ \
+ -Wl,-soname=$(*F).so$($(*F).so-version) \
$(build-shlib-objlist)
# And get them into the libc.so ldscript.