From 2b1a8538a181219b579c69dc2ed94b5a2c31d291 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 24 Apr 2001 20:40:53 +0000 Subject: Avoid a chicken-and-the-egg problem. Use $(LD) to compile the libdl library, not $(CC). -Erik --- ldso/libdl/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ldso') 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) -- cgit v1.2.3