aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/utility-uninstalled.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-11-22 08:22:49 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-11-22 08:22:49 +0200
commitc8d9235115f5c0c3b20bdb0cf59b05761cb3d3de (patch)
tree8eb09513625a157e1c436c4e156b1c87f0506c44 /libbuild2/utility-uninstalled.cxx
parent9bb8b63156f6dfb42f9ddab77f253ae0bda02d5a (diff)
Add support for `import std` in Clang 17 or later with libc++
Diffstat (limited to 'libbuild2/utility-uninstalled.cxx')
-rw-r--r--libbuild2/utility-uninstalled.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/libbuild2/utility-uninstalled.cxx b/libbuild2/utility-uninstalled.cxx
index 69908f9..f836de6 100644
--- a/libbuild2/utility-uninstalled.cxx
+++ b/libbuild2/utility-uninstalled.cxx
@@ -13,4 +13,10 @@ namespace build2
#else
const dir_path build_install_buildfile; // Empty.
#endif
+
+#ifdef BUILD2_INSTALL_DATA
+ const dir_path build_install_data (BUILD2_INSTALL_DATA);
+#else
+ const dir_path build_install_data; // Empty (during bootstrap).
+#endif
}