[PATCH] D15986: llvm-config: handle BUILD_SHARED_LIBS correctly
Andrew Wilkins via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 7 17:39:25 PST 2016
axw created this revision.
axw added reviewers: beanz, DiamondLovesYou.
axw added a subscriber: llvm-commits.
llvm-config will print out library names according
to the build configuration: libLLVM-X.Y.so with
LLVM_LINK_LLVM_DYLIB=ON, static archives if OFF.
It should print out shared libraries if the
BUILD_SHARED_LIBS configuration is used, but this
is not currently being handled correctly.
Now if BUILD_SHARED_LIBS=ON, we will print out the
individual component shared libraries.
BUILD_SHARED_LIBS is mutually exclusive with
LLVM_LINK_LLVM_DYLIB, so there can be no fallback
to the single shared library or to static archives.
http://reviews.llvm.org/D15986
Files:
tools/llvm-config/llvm-config.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15986.44298.patch
Type: text/x-patch
Size: 9743 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160108/5cd0c4f7/attachment.bin>
More information about the llvm-commits
mailing list