Commit c6ba38d
authored
xenctrl-ext: link stubs explicitly agains libxenctrl (#7135)
The xenctrlext_stubs use libxenctrl symbols (e.g. xc_cpumap_alloc) but
did not declare it as a link dependency. So, the produced
dllxenctrl_ext_stubs.so had no NEEDED entry for libxenctrl.
When I try to run `dune utop` on my Debian Trixie the loading fails
with:
Fatal error: cannot load shared library dllxenctrl_ext_stubs
Reason: .../ocaml/libs/xenctrl-ext/dllxenctrl_ext_stubs.so:
undefined symbol: xc_cpumap_alloc
This patch adds -lxenctrl to c_library_flags so the stubs declare the
dependency themselves.1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
0 commit comments