summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dimitry@andric.com>2017-06-26 19:16:49 +0000
committerDimitry Andric <dimitry@andric.com>2017-06-26 19:16:49 +0000
commit695c69316bca9b3f81f1a777bb78753e85c1488b (patch)
treef182088cddfc2259bb7904a9d621b44ee1dd1d2d /clang/lib/Basic/SourceManager.cpp
parent9ac3e4221177906c07ee7fda25037e47581fadf0 (diff)
downloadbcm5719-llvm-695c69316bca9b3f81f1a777bb78753e85c1488b.tar.gz
bcm5719-llvm-695c69316bca9b3f81f1a777bb78753e85c1488b.zip
Only use libdl when it is available
Summary: On BSDs, there is no `libdl.so`, and functions like `dlopen` are implemented in the main C library instead. Use the `CMAKE_DL_LIBS` variable instead of hardcoding a dependency on the `dl` library. Reviewers: grokos, joerg, emaste Reviewed By: emaste Subscribers: jlpeyton, mgorny, openmp-commits Differential Revision: https://reviews.llvm.org/D34632 llvm-svn: 306319
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud