diff options
-rw-r--r-- | libbuild2/module.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
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); } |