OSDN Git Service

patsubst didn't occur for all cases correctly
authorPeter S. Mazinger <ps.m@gmx.net>
Wed, 23 Nov 2005 00:32:58 +0000 (00:32 -0000)
committerPeter S. Mazinger <ps.m@gmx.net>
Wed, 23 Nov 2005 00:32:58 +0000 (00:32 -0000)
Makerules

index cbf02ba..8ce7d48 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) $(patsubst $(top_builddir)%.$(MAJOR_VERSION),%,$@)
+       cd $(top_builddir); $(MAKE) lib/$(patsubst %.$(MAJOR_VERSION),%,$(notdir $@))
 
 #ifeq ($(HAVE_ELF),y)
 CRT=crt1