aboutsummaryrefslogtreecommitdiff
path: root/build2/install
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-08-08 14:55:26 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-08-10 15:02:45 +0300
commita1b2319ff2ddc8a6f139ee364cabe236ca62e23e (patch)
tree401acff7ca7f009455aa355f5e1e008f0b50810c /build2/install
parent5352f2fb6b911c804e70ea98c1bb335c54fea6b5 (diff)
Add ignore case support for find_option()
Diffstat (limited to 'build2/install')
-rw-r--r--build2/install/rule.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/build2/install/rule.cxx b/build2/install/rule.cxx
index 165b43d..39741bd 100644
--- a/build2/install/rule.cxx
+++ b/build2/install/rule.cxx
@@ -4,8 +4,6 @@
#include <build2/install/rule>
-#include <cctype> // tolower()
-
#include <build2/scope>
#include <build2/target>
#include <build2/algorithm>
@@ -254,7 +252,7 @@ namespace build2
assert (d.absolute ());
string s (d.representation ());
- s[1] = tolower(s[0]); // Replace ':' with the drive letter.
+ s[1] = lcase (s[0]); // Replace ':' with the drive letter.
s[0] = '/';
return dir_path (dir_path (move (s)).posix_representation ());