summaryrefslogtreecommitdiffstats
path: root/libc/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-01-16 06:35:26 +0000
committerEric Andersen <andersen@codepoet.org>2002-01-16 06:35:26 +0000
commit54fd5bd31bba892a56bebeb3bd64797a76d80336 (patch)
tree5365e03bc66db6c1083b85efd276daf531b5ddc1 /libc/Makefile
parent92fa28346ab95b8f956365b1540a8458af286697 (diff)
downloaduClibc-alpine-54fd5bd31bba892a56bebeb3bd64797a76d80336.tar.bz2
uClibc-alpine-54fd5bd31bba892a56bebeb3bd64797a76d80336.tar.xz
Tell ld explicitly when stuff is supposed to by dynamically linked
-Erik
Diffstat (limited to 'libc/Makefile')
-rw-r--r--libc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/Makefile b/libc/Makefile
index 83a53bf6a..778e21f7d 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 $(LDSO)
+ ./tmp/libgcc-need.a -Bdynamic $(LDSO)
@/bin/true #rm -rf tmp
install -d $(TOPDIR)lib
rm -f $(TOPDIR)lib/$(SHARED_FULLNAME)