summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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