Browse Source

Makerules: Remove duplicated slashes in interp.c

Peter Mazinger says in [1]:
"I can revert it to the old behaviour in master (the change s://:/: should stay though)."

[1] http://lists.uclibc.org/pipermail/uclibc/2011-March/045049.html

Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Sedat Dilek 12 years ago
parent
commit
b7792601c9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Makerules

+ 1 - 0
Makerules

@@ -379,6 +379,7 @@ $(top_builddir)lib/interp.c: | $(top_builddir)lib
 	$(Q)echo "#include <features.h>" >> $@.tmp
 	$(Q)echo "const char __dl_ldso__[] attribute_hidden __attribute__ ((weak)) __attribute__ ((section " \
 		"(\".interp\"))) =\""$(RUNTIME_PREFIX)$(MULTILIB_DIR)/$(UCLIBC_LDSO)"\";" >> $@.tmp
+	$(Q)$(SED) -i -e 's://:/:g' $@.tmp
 	$(Q)mv $@.tmp $@
 
 $(interp): $(top_builddir)lib/interp.c | $(sub_headers)