From bb123ab649b8a4caa09bd804ebd0b016dc5917e2 Mon Sep 17 00:00:00 2001 From: "neil@parkwaycc.co.uk" Date: Thu, 23 Aug 2007 14:52:19 -0700 Subject: [PATCH] uriloader/exthandler dependencies not working in Windows b=393270 r=luser --- config/rules.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/rules.mk b/config/rules.mk index df44148b6d4..2b4f0daacb0 100644 --- a/config/rules.mk +++ b/config/rules.mk @@ -1144,7 +1144,7 @@ if test -d $(@D); then \ touch $(_MDDEPFILE) && \ $(MKDEPEND) -o'.$(OBJ_SUFFIX)' -f$(_MDDEPFILE) $(DEFINES) $(ACDEFINES) $(INCLUDES) $< >/dev/null 2>&1 && \ mv $(_MDDEPFILE) $(_MDDEPFILE).old && \ - cat $(_MDDEPFILE).old | sed -e "s|^$(srcdir)/||" -e "s|^$(win_srcdir)/||" > $(_MDDEPFILE) && rm -f $(_MDDEPFILE).old ; \ + cat $(_MDDEPFILE).old | sed -e "s|^$(srcdir)[^ ]*/||" -e "s|^$(win_srcdir)[^ ]*/||" > $(_MDDEPFILE) && rm -f $(_MDDEPFILE).old ; \ fi endef else @@ -1903,7 +1903,7 @@ define MAKE_DEPS_NOAUTO set -e ; \ touch $@ && \ $(MKDEPEND) -w1024 -o'.$(OBJ_SUFFIX)' -f$@ $(DEFINES) $(ACDEFINES) $(INCLUDES) $(srcdir)/$(/dev/null 2>&1 && \ - mv $@ $@.old && cat $@.old | sed "s|^$(srcdir)/||g" > $@ && rm -f $@.old + mv $@ $@.old && cat $@.old | sed "s|^$(srcdir)[^ ]*/||g" > $@ && rm -f $@.old endef else define MAKE_DEPS_NOAUTO