[llvm-commits] [patch] CMake: Do not add -ldl, but use CMAKE_DL_LIBS

Tobias Grosser grosser at fim.uni-passau.de
Thu Nov 19 03:56:26 PST 2009


Hi,

I just fixed bug http://llvm.org/bugs/show_bug.cgi?id=5536

----------------------------------------------------------------------------
CMake: Do not add -ldl, but use CMAKE_DL_LIBS

This fixes BUILD_SHARED_LIBS on FreeBSD, NetBSD, and all platforms that have
dlopen and dlclose in another library. For example in FreeBSD it is in libc.
----------------------------------------------------------------------------

By the way, do I have to send these patches to this mailinglist or is it enough
to add them to the bug tracker?

Tobi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-CMake-Do-not-add-ldl-but-use-CMAKE_DL_LIBS.patch
Type: text/x-patch
Size: 1426 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20091119/15660bdb/attachment.bin>


More information about the llvm-commits mailing list