Only run ldconfig when nbdkit-plugin-ocaml is built.

This commit is contained in:
Richard W.M. Jones 2015-06-20 11:58:07 +01:00
parent ce4ce8c1dc
commit 6d30221bee
1 changed files with 2 additions and 1 deletions

View File

@ -252,9 +252,10 @@ make check
%endif
%ifarch %{ocaml_native_compiler}
%post plugin-ocaml -p /sbin/ldconfig
%postun plugin-ocaml -p /sbin/ldconfig
%endif
%files