From 045ed0741162e86d91828e3b96ef6c521e578a39 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 10 Jun 2020 11:38:10 +0200 Subject: Fix bootstrap build --- libbuild2/module.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libbuild2/module.cxx') diff --git a/libbuild2/module.cxx b/libbuild2/module.cxx index cfedefe..4c663a3 100644 --- a/libbuild2/module.cxx +++ b/libbuild2/module.cxx @@ -190,6 +190,8 @@ namespace build2 void* h (nullptr); void* s (nullptr); +#ifndef BUILD2_BOOTSTRAP + #ifndef _WIN32 // Use RTLD_NOW instead of RTLD_LAZY to both speed things up (we are going // to use this module now) and to detect any symbol mismatches. @@ -216,6 +218,8 @@ namespace build2 err = win32::last_error_msg (); #endif +#endif // BUILD2_BOOTSTRAP + return make_pair (h, s); } -- cgit v1.1