# HG changeset patch # Parent 4b0907c6a08c348962bd976c2976257b412408be Don't use hardlinks in ocaml Date added: 20111013 An upstream patch erroneously introduces a hardlink in the library to the build path. Unless that exact path exists when the library is linked later (very unlikely), the later link will fail. Upstream plan: Needs to be upstreamed as-is diff -r 4b0907c6a08c tools/ocaml/libs/xc/Makefile --- a/tools/ocaml/libs/xc/Makefile Tue Oct 11 12:02:58 2011 +0100 +++ b/tools/ocaml/libs/xc/Makefile Thu Oct 13 17:28:06 2011 +0100 @@ -9,7 +9,7 @@ OBJS = xenctrl INTF = xenctrl.cmi LIBS = xenctrl.cma xenctrl.cmxa -LIBS_xenctrl = $(LDLIBS_libxenctrl) $(LDLIBS_libxenguest) +LIBS_xenctrl = -L$(XEN_ROOT)/tools/libxc -lxenctrl -lxenguest xenctrl_OBJS = $(OBJS) xenctrl_C_OBJS = xenctrl_stubs