summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--library.mak3
1 files changed, 1 insertions, 2 deletions
diff --git a/library.mak b/library.mak
index 7f26984cd0..f715f4a9a8 100644
--- a/library.mak
+++ b/library.mak
@@ -5,7 +5,6 @@ include $(SRC_PATH)/common.mak
LIBVERSION := $(lib$(NAME)_VERSION)
LIBMAJOR := $(lib$(NAME)_VERSION_MAJOR)
INCINSTDIR := $(INCDIR)/lib$(NAME)
-THIS_LIB := $(SUBDIR)$($(CONFIG_SHARED:yes=S)LIBNAME)
all-$(CONFIG_STATIC): $(SUBDIR)$(LIBNAME)
all-$(CONFIG_SHARED): $(SUBDIR)$(SLIBNAME)
@@ -92,7 +91,7 @@ endef
$(eval $(RULES))
-$(EXAMPLES) $(TOOLS): $(THIS_LIB) $(DEP_LIBS)
+$(EXAMPLES) $(TOOLS): $(DEP_LIBS) $(SUBDIR)$($(CONFIG_SHARED:yes=S)LIBNAME)
$(TESTPROGS): $(SUBDIR)$(LIBNAME) $(DEP_LIBS)
examples: $(EXAMPLES)