diff --git a/Makefile b/Makefile index f7b114ff2..5ea878b65 100644 --- a/Makefile +++ b/Makefile @@ -369,7 +369,7 @@ endif # the correct path prefix. %.d: %.cc $(CXX) $(CXXFLAGS) $(PLATFORM_SHARED_CFLAGS) -MM $< -o $@ - @sed -i -e 's|.*:|$*.o:|' $@ + @sed -i -e 's/.*:/$*.o:/' $@ DEPFILES = $(filter-out util/build_version.d,$(SOURCES:.cc=.d))