Use CMAKE_DL_LIBS instead of raw library name. Fixes bug 5536.
authorOscar Fuentes <ofv@wanadoo.es>
Thu, 19 Nov 2009 23:21:43 +0000 (23:21 +0000)
committerOscar Fuentes <ofv@wanadoo.es>
Thu, 19 Nov 2009 23:21:43 +0000 (23:21 +0000)
commit470fb519615d6c2bf31e9b3c0dd068bb0af39af2
tree5c19c0d3f0928a5d2c5d2cedc8a7476b2ecef2bb
parent3e72d301e03de8edcd603a5d3e9486748dfa6887
Use CMAKE_DL_LIBS instead of raw library name. Fixes bug 5536.

Patch by Tobias Grosser!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89406 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/LLVMConfig.cmake
lib/System/CMakeLists.txt