[llvm-dev] llvm-config with shared libraries in cmake builds broken (since r257003?)
Nicolai Hähnle via llvm-dev
llvm-dev at lists.llvm.org
Thu Jan 7 13:37:19 PST 2016
On 07.01.2016 15:53, Nicolai Hähnle wrote:
> since today, I get:
>
> $ llvm-config --link-shared --libs engine
> llvm-config: error: libLLVM-3.8svn.so is missing
>
> Looking at the log, this is most likely caused by your recent change.
> cmake shared library builds generate separate .so files analogous to the
> static library builds, e.g. libLLVMCodeGen.so (no version suffix,
> curiously enough). It would be nice if that wasn't broken :)
After more investigation and help from Tom Stellard, it turns out that
setting BUILD_SHARED_LIBS=on is what isn't supported with that change to
llvm-config.
> Cheers,
> Nicolai
More information about the llvm-dev
mailing list