Browse Source

Allow building ldso in its own dir

Peter S. Mazinger 18 years ago
parent
commit
9b163dc6b6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makerules

+ 1 - 1
Makerules

@@ -133,7 +133,7 @@ $(interp): $(top_builddir)lib/interp.c
 	$(Q)$(STRIPTOOL) -x -R .note -R .comment $@
 
 $(ldso):
-	cd $(top_builddir); $(MAKE) $(ldso:.$(MAJOR_VERSION)=)
+	cd $(top_builddir); $(MAKE) $(patsubst $(top_builddir)%.$(MAJOR_VERSION),%,$@)
 
 #ifeq ($(HAVE_ELF),y)
 CRT=crt1