summaryrefslogtreecommitdiff
path: root/libm
diff options
context:
space:
mode:
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 00d29d589..b09434877 100644
--- a/libm/Makefile
+++ b/libm/Makefile
@@ -106,7 +106,7 @@ $(AR_LIB_NAME): $(OBJS)
$(RM) $(AR_LIB_NAME)
$(AR) $(ARFLAGS) $(AR_LIB_NAME) $(OBJS)
-$(SO_LIB_NAME): subdirs
+$(SO_LIB_NAME): $(AR_LIB_NAME) subdirs
$(RM) $(TOPDIR)lib/$(SO_FULL_NAME) $(SO_LIB_NAME).$(MAJOR_VERSION) $(SO_LIB_NAME)
$(LD) $(LDFLAGS) -soname=$(LIB_NAME).so.$(MAJOR_VERSION) \
-o $(TOPDIR)lib/$(SO_FULL_NAME) --whole-archive $(AR_LIB_NAME) \