gbuild: WNT_INTEL_MSC: replace also // with / in the path

Motivation behind this is to fix processing of idl files.
When LibO directory is toplevel disk directory, there are
two // in the path which could be the reason idlc fails.
This commit is contained in:
Matúš Kukan 2012-01-16 12:40:02 +01:00
parent b0f254fa1e
commit 9847c3ec4d

View file

@ -247,11 +247,12 @@ gb_Helper_set_ld_path := PATH="$${PATH}:$(OUTDIR)/bin"
# does some real work only on windows, make sure not to
# break the dummy implementations on unx*
define gb_Helper_convert_native
$(subst //,/, \
$(subst $(REPODIR),$(gb_Helper_REPODIR_NATIVE), \
$(subst $(SRCDIR),$(gb_Helper_SRCDIR_NATIVE), \
$(subst $(WORKDIR),$(gb_Helper_WORKDIR_NATIVE), \
$(subst $(OUTDIR),$(gb_Helper_OUTDIR_NATIVE), \
$(1)))))
$(1))))))
endef
# YaccTarget class