summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-22 22:07:46 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-22 22:07:46 +0000
commit9b163dc6b6775ad9ebcd819847907fae26232c38 (patch)
treec663ba3dafcc357d83e5b6394d57f23348c4947c /Makerules
parentec80cbc14c76ae55f1c8dc2bedde9ca7f94e35fe (diff)
Allow building ldso in its own dir
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makerules b/Makerules
index 235d38f9b..c076acc99 100644
--- 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