aboutsummaryrefslogtreecommitdiff
path: root/extra-lib.mk
diff options
context:
space:
mode:
Diffstat (limited to 'extra-lib.mk')
-rw-r--r--extra-lib.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/extra-lib.mk b/extra-lib.mk
index 44db007421..aa92fd1664 100644
--- a/extra-lib.mk
+++ b/extra-lib.mk
@@ -25,13 +25,11 @@ ifneq (,$(filter .so,$(object-suffixes-$(lib))))
alltypes-$(lib) += $(objpfx)$(lib).so
endif
-ifneq (0,$(MAKELEVEL))
-ifndef $(lib)-no-lib-dep
+ifeq (,$($(lib)-no-lib-dep))
lib-noranlib: $(alltypes-$(lib))
else
others: $(alltypes-$(lib))
endif
-endif
# Use o-iterator.mk to generate a rule for each flavor of library.
define o-iterator-doit