<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 26, 2020 at 6:51 AM Tom Stellard via lldb-dev <<a href="mailto:lldb-dev@lists.llvm.org">lldb-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Is there anyone with access to a Mac OS system that has time to take a <br>
look at this bug: <a href="https://bugs.llvm.org/show_bug.cgi?id=46190" rel="noreferrer" target="_blank">https://bugs.llvm.org/show_bug.cgi?id=46190</a><br></blockquote><div><br></div><div>When I've had compilation issues caused by CommandLineTools, the cause has been Homebrew's install of pkg-config. Since it's not always possible to uninstall pkg-config, the solution I use is to add `-DPKG_CONFIG_EXECUTABLE=/usr/bin/false` to CMake. On macOS, the Xcode SDK includes the libraries lldb needs, and CMake finds them without needing pkg-config. But when pkg-config is installed, the paths it provides from CommandLineTools are used instead. Using `false` is to simulate failure, at which point cmake continues on with its search and finds them in the SDK.</div><div><br></div><div>Dave<br></div></div></div>