aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-06-20 14:00:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-06-20 14:00:18 +0200
commit02512f4629d7c6d21947536a2b5499a27d9c8c44 (patch)
tree1b9e898481176c1308f4fd912642252ab5f5d9ee
parentdc352e2d5acb5fe2da986073c8c8197918068027 (diff)
Escape back slashes in ODB_GXX_NAME string
-rw-r--r--odb/buildfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/odb/buildfile b/odb/buildfile
index 9e1d6bc..fd7701a 100644
--- a/odb/buildfile
+++ b/odb/buildfile
@@ -27,6 +27,7 @@ plugin{*}: install = bin/
# some point we should also make it configurable.
#
gxx_name = ($cxx.target != $build.host ? g++ : $recall($cxx.path))
+gxx_name = $regex.replace($gxx_name, '\\', '\\\\') # Escape back slashes.
import libs = libcutl%lib{cutl}
import libs += libstudxml%lib{studxml}