Fix test of $(lib)-no-lib-dep.
authorroland <roland>
Tue, 31 Oct 1995 05:07:12 +0000 (05:07 +0000)
committerroland <roland>
Tue, 31 Oct 1995 05:07:12 +0000 (05:07 +0000)
extra-lib.mk

index 44db007..aa92fd1 100644 (file)
@@ -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