mbox series

[v2,0/1] Fix rpath handling in OCaml's Makefile.rules

Message ID cover.1733766758.git.andrii.sultanov@cloud.com (mailing list archive)
Headers show
Series Fix rpath handling in OCaml's Makefile.rules | expand

Message

Andrii Sultanov Dec. 9, 2024, 5:57 p.m. UTC
As reported by Nix's Xen team, OCaml stub libs would embed an absolute
rpath in the binaries, which was picked up on by patchelf. This is a
symptom of improper handling of -rpath-link in the first place, so
correct that and get rid of the issue.

Changes in v2:
- Previous version mistakenly did not actually get rid of the absolute
  rpath, pass -L directly to the linker as well
- Credit the original reporter

Andrii Sultanov (1):
  tools/ocaml: Specify rpath correctly for ocamlmklib

 tools/ocaml/Makefile.rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)