<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 29, 2014 at 6:40 AM, Peter Collingbourne <span dir="ltr"><<a href="mailto:peter@pcc.me.uk" target="_blank">peter@pcc.me.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":270" class="a3s" style="overflow:hidden">Did you end up exposing `LLVM_LIBDIR_SUFFIX` somewhere like a `#define` in a header file? If so, we should be able to pick it up from Go (see e.g. `bindings/go/llvm/version.go` for an example of how to do that).<br></div></blockquote></div><br>I don't think this is the right design. The libdir suffix shouldn't be exposed via a header, it should be exposed via the build system (potentially through an invocation of llvm-config or inclusion of LLVMConfig.cmake). As an example of why, it doesn't seem unreasonable for a packager to install both lib32 and lib64 multilib variants of LLVM and expect them to share the same installed header files.</div></div>