summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
Diffstat (limited to 'ldso')
-rw-r--r--ldso/libdl/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldso/libdl/Makefile b/ldso/libdl/Makefile
index 8578357ab..7f37bbf33 100644
--- a/ldso/libdl/Makefile
+++ b/ldso/libdl/Makefile
@@ -19,8 +19,8 @@ ELF_LDFLAGS=--shared -nostartfiles -nostdlib # using GNU ld
#ELF_LDFLAGS=-G # with SVr4 ld
lib:: $(OBJS)
- $(CC) $(ELF_LDFLAGS) -o $(LIBDL).$(LDSO_VMAJOR) \
- -Wl,-soname -Wl,$(LIBDL).$(LDSO_VMAJOR) *.o -lc
+ $(LD) $(ELF_LDFLAGS) -o $(LIBDL).$(LDSO_VMAJOR) \
+ -soname $(LIBDL).$(LDSO_VMAJOR) *.o -lc
obj: $(OBJS)