On Mon, Oct 26, 2020 at 6:51 AM Tom Stellard via lldb-dev < lldb-dev@lists.llvm.org> wrote:
> Is there anyone with access to a Mac OS system that has time to take a > look at this bug: https://bugs.llvm.org/show_bug.cgi?id=46190 > 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. Dave
_______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev