summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libm/Makefile b/libm/Makefile
index 00d29d5..b094348 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) \