diff options
-rw-r--r-- | build2/bin/module.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build2/bin/module.cxx b/build2/bin/module.cxx index 26dc414..281a2e4 100644 --- a/build2/bin/module.cxx +++ b/build2/bin/module.cxx @@ -434,6 +434,9 @@ namespace build2 const path& ar (cast<path> (ap.first)); const path* ranlib (cast_null<path> (rp.first)); + if (ranlib != nullptr && ranlib->empty ()) // @@ BC LT [null]. + ranlib = nullptr; + ar_info ari (guess_ar (ar, ranlib)); // If this is a new value (e.g., we are configuring), then print the |