OSDN Git Service

Allow building ldso in its own dir
authorPeter S. Mazinger <ps.m@gmx.net>
Tue, 22 Nov 2005 22:07:46 +0000 (22:07 -0000)
committerPeter S. Mazinger <ps.m@gmx.net>
Tue, 22 Nov 2005 22:07:46 +0000 (22:07 -0000)
Makerules

index 235d38f..c076acc 100644 (file)
--- a/Makerules
+++ b/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