From c8d9235115f5c0c3b20bdb0cf59b05761cb3d3de Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 22 Nov 2023 08:22:49 +0200 Subject: Add support for `import std` in Clang 17 or later with libc++ --- libbuild2/utility-uninstalled.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libbuild2/utility-uninstalled.cxx') 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 } -- cgit v1.1