diff options
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/libdl/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ldso/libdl/Makefile b/ldso/libdl/Makefile index faaced6c0..cccd9e473 100644 --- a/ldso/libdl/Makefile +++ b/ldso/libdl/Makefile @@ -50,8 +50,9 @@ $(OBJS): %.o : %.c $(OBJ): Makefile shared: all - $(TARGET_CC) $(TARGET_LDFLAGS) -nostdlib -shared -o $(LIBDL_SHARED_FULLNAME) \ - -Wl,-soname,$(LIBDL_SHARED).$(MAJOR_VERSION) -Wl,--whole-archive $(LIBDL) -lc + $(LD) $(LDFLAGS) -o $(LIBDL_SHARED_FULLNAME) \ + -soname=$(LIBDL_SHARED).$(MAJOR_VERSION) \ + --whole-archive $(LIBDL); install -d $(TOPDIR)lib rm -f $(TOPDIR)lib/$(LIBDL_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBDL_SHARED).$(MAJOR_VERSION) install -m 644 $(LIBDL_SHARED_FULLNAME) $(TOPDIR)lib; |