summaryrefslogtreecommitdiff
path: root/libm
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-01-12 04:26:55 +0000
committerEric Andersen <andersen@codepoet.org>2002-01-12 04:26:55 +0000
commitc1009c8881176fbc15646fc229f5c773a0795b15 (patch)
treecd7302ef4e03d7a5f7b221db54c6b87288c757e9 /libm
parentebc043565b5980f3622eea0c90ef31aeac839a39 (diff)
Depend upon libc
Diffstat (limited to 'libm')
-rw-r--r--libm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libm/Makefile b/libm/Makefile
index fc1322c35..e0faf0700 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); \
+ --whole-archive $(LIBM) -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; \