mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ml/llvm-ocaml: Update 10+ for dylib linking
Pass appropriate arguments to 10+ to link against dylib instead of trying to link to non-existent static libs. This still needs a fix upstream but the ebuild's broken anyway. Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -65,8 +65,11 @@ src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DLLVM_LIBDIR_SUFFIX=${libdir#lib}
|
||||
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
-DLLVM_BUILD_LLVM_DYLIB=ON
|
||||
-DLLVM_LINK_LLVM_DYLIB=ON
|
||||
-DLLVM_OCAML_OUT_OF_TREE=ON
|
||||
|
||||
# cheap hack: LLVM combines both anyway, and the only difference
|
||||
# is that the former list is explicitly verified at cmake time
|
||||
-DLLVM_TARGETS_TO_BUILD=""
|
||||
|
||||
Reference in New Issue
Block a user