Make --srcdir autodetection work with activestate perl

Bug #135589
This commit is contained in:
seawood%netscape.com 2002-04-13 08:39:48 +00:00
parent 7c5d155247
commit 2891336507

View File

@ -369,7 +369,8 @@ endif
# and we need to get OBJDIR earlier
ifdef MOZ_TOOLS
_tmpobjdir := $(shell cygpath -u $(OBJDIR))
_OBJ2SRCPATH := $(shell $(TOPSRCDIR)/build/unix/abs2rel.pl $(TOPSRCDIR) $(_tmpobjdir))
_abs2rel := $(shell cygpath -w $(TOPSRCDIR)/build/unix/abs2rel.pl | sed -e 's|\\|/|g')
_OBJ2SRCPATH := $(shell $(_abs2rel) $(TOPSRCDIR) $(_tmpobjdir))
endif
#######################################################################