[clazy] [Bug 352896] Doesn't build on OSX

Sergio Martins bugzilla_noreply at kde.org
Wed Nov 2 22:53:49 GMT 2016


https://bugs.kde.org/show_bug.cgi?id=352896

Sergio Martins <smartins at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #21 from Sergio Martins <smartins at kde.org> ---
linking to -lLLVMSupport -lcurses -lz seems to fix it for all versions
(although didn't test 3.7)

Linking to libLLVM isn't a good idea since we're mixing static with dynamic
libs, it results in pass-remarks being registered more than once.

Linking to libLLVMSupport works on mac, although it doesn't work on Linux, no
idea why.

And finally, FindLLVM.cmake should be changed so it executes llvm-config
--system-libs too (so it adds -lcurses and -lz)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list