[Openmp-commits] [PATCH] D34632: Check for libdl, and only use it when available

Jonathan Peyton via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Jun 26 10:48:05 PDT 2017


jlpeyton added a comment.

CMake has a variable `CMAKE_DL_LIBS` which I believe contains the information you want. It essentially gets defined to "-ldl" on unices that need it and "" on platforms which don't need it.


Repository:
  rL LLVM

https://reviews.llvm.org/D34632





More information about the Openmp-commits mailing list