summaryrefslogtreecommitdiff
path: root/libc/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-05-16 20:14:45 +0000
committerEric Andersen <andersen@codepoet.org>2001-05-16 20:14:45 +0000
commit0ad1b4fdd341cae5283b21257711e1ab71097b8c (patch)
tree4f388c27fedd2d39e1bc236f702a322c6b19a788 /libc/Makefile
parent51116eca39a0d9b78919fd85b7ae9d24a4efbc96 (diff)
Fix up a few little problems
Diffstat (limited to 'libc/Makefile')
-rw-r--r--libc/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/Makefile b/libc/Makefile
index 33c5bf9e5..18142f9ee 100644
--- a/libc/Makefile
+++ b/libc/Makefile
@@ -46,13 +46,13 @@ shared: $(TOPDIR)lib/$(LIBNAME)
@(cd tmp; CC=$(CC) /bin/sh ../../extra/scripts/get-needed-libgcc-objects.sh)
if [ -s ./tmp/libgcc-need.a ] ; then \
$(CC) -g $(LDFLAGS) -shared -o $(SHARED_FULLNAME) \
- -Wl,-soname,$(SHARED_MAJORNAME) -Wl,--whole-archive \
+ -Wl,-soname=$(SHARED_MAJORNAME) -Wl,--whole-archive \
./$(LIBNAME) ./tmp/libgcc-need.a \
- $(LDSO) ; \
+ $(LDSO) -Wl,--dynamic-linker,$(DYNAMIC_LINKER); \
else \
$(CC) -g $(LDFLAGS) -shared -o $(SHARED_FULLNAME) \
-Wl,-soname,$(SHARED_MAJORNAME) -Wl,--whole-archive \
- ./$(LIBNAME) $(LDSO) ; \
+ ./$(LIBNAME) $(LDSO) -Wl,-dynamic-linker=$(DYNAMIC_LINKER); \
fi
@rm -rf tmp
install -d $(TOPDIR)lib