[Bug 223191] devel/llvm*: --link-shared is broken

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 25 16:01:38 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223191

--- Comment #4 from Greg V <greg at unrelenting.technology> ---
Oh and to fix shared link, add:

CMAKE_ARGS+=   -DLLVM_LINK_LLVM_DYLIB=ON

after:

CMAKE_ARGS=    -DLLVM_BUILD_LLVM_DYLIB=ON

Turns out if you build the monolithic dylib (libLLVM-5.0.so) but don't link it,
llvm-config will assume you actually have the tiny separate libs. ¯\_(ツ)_/¯

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-x11 mailing list