summaryrefslogtreecommitdiff
path: root/ldso/libdl
diff options
context:
space:
mode:
Diffstat (limited to 'ldso/libdl')
-rw-r--r--ldso/libdl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/libdl/Makefile b/ldso/libdl/Makefile
index dd82882bd..50339ebdf 100644
--- a/ldso/libdl/Makefile
+++ b/ldso/libdl/Makefile
@@ -52,7 +52,7 @@ $(OBJ): Makefile
shared: all
$(LD) $(LDFLAGS) -o $(LIBDL_SHARED_FULLNAME) \
-soname=$(LIBDL_SHARED).$(MAJOR_VERSION) \
- --whole-archive $(LIBDL) -L$(TOPDIR)/lib -lc;
+ --whole-archive $(LIBDL) -Bdynamic -L$(TOPDIR)/lib -lc;
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;