summaryrefslogtreecommitdiff
path: root/subdir.mak
diff options
context:
space:
mode:
Diffstat (limited to 'subdir.mak')
-rw-r--r--subdir.mak4
1 files changed, 3 insertions, 1 deletions
diff --git a/subdir.mak b/subdir.mak
index 68850c80ba..448d064e07 100644
--- a/subdir.mak
+++ b/subdir.mak
@@ -27,7 +27,9 @@ install-libs: install-lib$(NAME)-shared
$(SUBDIR)$(SLIBNAME): $(SUBDIR)$(SLIBNAME_WITH_MAJOR)
cd ./$(SUBDIR) && $(LN_S) $(SLIBNAME_WITH_MAJOR) $(SLIBNAME)
-$(SUBDIR)$(SLIBNAME_WITH_MAJOR): $(OBJS)
+$(SUBDIR)$(SLIB_EXTRA_OBJS): $(SLIB_EXTRA_DEP)
+
+$(SUBDIR)$(SLIBNAME_WITH_MAJOR): $(OBJS) $(SUBDIR)$(SLIB_EXTRA_OBJS)
$(SLIB_CREATE_DEF_CMD)
$(CC) $(SHFLAGS) $(FFLDFLAGS) -o $$@ $$^ $(FFEXTRALIBS) $(EXTRAOBJS)
$(SLIB_EXTRA_CMD)