summaryrefslogtreecommitdiff
path: root/libm/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-01-16 06:35:26 +0000
committerEric Andersen <andersen@codepoet.org>2002-01-16 06:35:26 +0000
commit54fd5bd31bba892a56bebeb3bd64797a76d80336 (patch)
tree5365e03bc66db6c1083b85efd276daf531b5ddc1 /libm/Makefile
parent92fa28346ab95b8f956365b1540a8458af286697 (diff)
Tell ld explicitly when stuff is supposed to by dynamically linked
-Erik
Diffstat (limited to 'libm/Makefile')
-rw-r--r--libm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libm/Makefile b/libm/Makefile
index e0faf0700..c1b0270e0 100644
--- a/libm/Makefile
+++ b/libm/Makefile
@@ -95,7 +95,7 @@ shared: all
set -x -e; \
$(LD) $(LDFLAGS) -o $(LIBM_SHARED_FULLNAME) \
-soname=$(LIBM_SHARED).$(MAJOR_VERSION) \
- --whole-archive $(LIBM) -L$(TOPDIR)/lib -lc; \
+ --whole-archive $(LIBM) -Bdynamic -L$(TOPDIR)/lib -lc; \
install -d $(TOPDIR)lib; \
rm -f $(TOPDIR)lib/$(LIBM_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBM_SHARED).$(MAJOR_VERSION); \
install -m 644 $(LIBM_SHARED_FULLNAME) $(TOPDIR)lib; \