summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-01-19 22:03:34 +0200
committerTor Lillqvist <tlillqvist@suse.com>2012-01-19 22:05:26 +0200
commitf727553f3b8c6632d1d374b918221649a9427eac (patch)
tree629194f0cb24ab2a420441490c8852b631ee3618 /solenv
parent2fbefa3d30e05948e3263b9c4bfe40ac49204f55 (diff)
Don't break file: URLs
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/platform/WNT_INTEL_MSC.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/solenv/gbuild/platform/WNT_INTEL_MSC.mk b/solenv/gbuild/platform/WNT_INTEL_MSC.mk
index b7b4e946926c..7552f09863df 100644
--- a/solenv/gbuild/platform/WNT_INTEL_MSC.mk
+++ b/solenv/gbuild/platform/WNT_INTEL_MSC.mk
@@ -246,13 +246,19 @@ gb_Helper_set_ld_path := PATH="$${PATH}:$(OUTDIR)/bin"
# convert parameters filesystem root to native notation
# does some real work only on windows, make sure not to
# break the dummy implementations on unx*
+
+# This file:/// -> file:!!! -> file:/// substitution is to protect the
+# slashes after file: in a file: URL from being unduplicated by the
+# // -> / substitution.
define gb_Helper_convert_native
+$(subst file:!!!,file:///, \
$(subst //,/, \
+$(subst file:///,file:!!!, \
$(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