]> granicus.if.org Git - llvm/commit
Merging r217484:
authorDan Liew <dan@su-root.co.uk>
Thu, 11 Sep 2014 22:56:28 +0000 (22:56 +0000)
committerDan Liew <dan@su-root.co.uk>
Thu, 11 Sep 2014 22:56:28 +0000 (22:56 +0000)
commit9f3db56ec8a12def7f2cc5a90f1a54f47eea6c5f
tree9ecd7caa7f10ac58116ea50cb14b4c2e3d37030b
parent830c9e06589cbeda499609bd4ac227905a4562e8
Merging r217484:
------------------------------------------------------------------------
r217484 | delcypher | 2014-09-10 11:18:59 +0100 (Wed, 10 Sep 2014) | 13 lines

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/branches/release_35@217638 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/Makefile