From: Jan Palus Date: Tue, 17 Oct 2023 09:16:40 +0000 (+0200) Subject: BR: llvm-devel for ocaml bindings X-Git-Tag: auto/th/llvm-17.0.4-1~2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fllvm.git;a=commitdiff_plain;h=30a78beb7f762e246eec022991e71f84bd1173c7 BR: llvm-devel for ocaml bindings ocaml bindings linking is broken and uses system installed libLLVM. until it is fixed make it explicit in spec. --- diff --git a/llvm.spec b/llvm.spec index 0dd90f5..729bac7 100644 --- a/llvm.spec +++ b/llvm.spec @@ -132,6 +132,7 @@ BuildRequires: libltdl-devel BuildRequires: libpfm-devel BuildRequires: libstdc++-devel >= 6:5 BuildRequires: libxml2-devel >= 2 +%{?with_ocaml:BuildRequires: llvm-devel >= 17} BuildRequires: ncurses-devel %if %{with ocaml} BuildRequires: ocaml >= 4.00.0