summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/Makefile b/libc/Makefile
index 7805f97b2..83a53bf6a 100644
--- a/libc/Makefile
+++ b/libc/Makefile
@@ -48,7 +48,7 @@ shared: $(TOPDIR)lib/$(LIBNAME)
/bin/sh ../../extra/scripts/get-needed-libgcc-objects.sh)
$(LD) $(LDFLAGS) -o $(SHARED_FULLNAME) -soname=$(SHARED_MAJORNAME) \
--dynamic-linker $(DYNAMIC_LINKER) --whole-archive $(LIBNAME) \
- ./tmp/libgcc-need.a
+ ./tmp/libgcc-need.a $(LDSO)
@/bin/true #rm -rf tmp
install -d $(TOPDIR)lib
rm -f $(TOPDIR)lib/$(SHARED_FULLNAME)