]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commit
Attempt to fix PR20884
authorDan Liew <dan@su-root.co.uk>
Wed, 10 Sep 2014 10:18:59 +0000 (10:18 +0000)
committerDan Liew <dan@su-root.co.uk>
Wed, 10 Sep 2014 10:18:59 +0000 (10:18 +0000)
commitaa552105556d18be9b5448fddff3f1306852dce9
treebd6b1f632d2e2430ef399c1a24b16955d2c0eb28
parente944e11ededd55bc866fd85d4712b1c069fd15ee
Attempt to fix PR20884

This fixes the generation of broken LLVMExports.cmake file by
the Autoconf/Makefile build system when --enable-shared is passed to
configure.

When --enable_shared is passed the Makefile.rules does not set the
LLVMConfigLibs variable which cmake/modules/Makefile previously relied
on. Now it runs the llvm-config command itself to get the library names.

This still isn't perfect because the generated LLVM targets refer to the
static libraries and not the shared library but that is much larger
problem to fix.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217484 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/Makefile