src: Use detected OCAMLLIB instead of $(libdir)/ocaml
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 28 Feb 2025 11:14:55 +0000 (11:14 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 28 Feb 2025 11:14:55 +0000 (11:14 +0000)
commit52a608a475fb11becc2ace2a603b31951fe80dad
tree63f34c1c1206c2ebfae8c31c65bff70f89a253c5
parentdd205eeae9fb06ac113884e4c9e9f3a90eef7554
src: Use detected OCAMLLIB instead of $(libdir)/ocaml

Using $(libdir)/ocaml fails if ./configure --libdir=.. isn't set
properly, and could be wrong anyway if there are other local changes
to the OCaml install.  In ./configure we are already detecting the
correct path, so use that instead.
src/Makefile.am