Update names of the Unix and Camlstr libraries for OCaml 5.1.0
Link with libzstd for OCaml 5.1.0
This commit is contained in:
parent
25ec33956f
commit
67766db26b
@ -696,6 +696,17 @@ for %{name}.
|
|||||||
%setup -q
|
%setup -q
|
||||||
%autopatch -p1
|
%autopatch -p1
|
||||||
|
|
||||||
|
# The names of the Unix and Camlstr libraries changed in OCaml 5.1.0, and
|
||||||
|
# linking with libzstd is now necessary
|
||||||
|
%if 0%{?fedora} > 39
|
||||||
|
sed -i 's/-ldl/& -lzstd/' daemon/Makefile.am
|
||||||
|
%ifarch %{ocaml_native_compiler}
|
||||||
|
sed -ri 's/-l(camlstr|unix)/&nat/' daemon/Makefile.am
|
||||||
|
%else
|
||||||
|
sed -ri 's/-l(camlstr|unix)/&byt/' daemon/Makefile.am
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%if 0%{patches_touch_autotools}
|
%if 0%{patches_touch_autotools}
|
||||||
autoreconf -i
|
autoreconf -i
|
||||||
%endif
|
%endif
|
||||||
@ -1093,6 +1104,10 @@ rm ocaml/html/.gitignore
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 4 2023 Jerry James <loganjerry@gmail.com> - 1:1.51.7-2
|
||||||
|
- Update names of the Unix and Camlstr libraries for OCaml 5.1.0
|
||||||
|
- Link with libzstd for OCaml 5.1.0
|
||||||
|
|
||||||
* Tue Oct 03 2023 Remi Collet <remi@remirepo.net> - 1:1.51.7-2
|
* Tue Oct 03 2023 Remi Collet <remi@remirepo.net> - 1:1.51.7-2
|
||||||
- rebuild for https://fedoraproject.org/wiki/Changes/php83
|
- rebuild for https://fedoraproject.org/wiki/Changes/php83
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user