@@ -105,9 +105,10 @@ OCAML_C_SRC := \
105105 src/lib/mirage_block_c.c
106106
107107OCAML_WHERE := $(shell ocamlc -where)
108- OCAML_PACKS := cstruct cstruct. lwt io-page io-page.unix uri mirage-block \
108+ OCAML_PACKS := cstruct cstruct- lwt io-page io-page.unix uri mirage-block \
109109 mirage-block-unix qcow unix threads lwt lwt.unix logs logs.fmt \
110- mirage-unix prometheus-app conduit-lwt cohttp.lwt
110+ mirage-unix prometheus-app conduit-lwt cohttp-lwt-unix \
111+ unix-type-representations
111112OCAML_LDLIBS := -L $(OCAML_WHERE ) \
112113 $(shell ocamlfind query cstruct) /cstruct.a \
113114 $(shell ocamlfind query cstruct) /libcstruct_stubs.a \
@@ -116,12 +117,13 @@ OCAML_LDLIBS := -L $(OCAML_WHERE) \
116117 $(shell ocamlfind query io-page-unix) /libio_page_unix_stubs.a \
117118 $(shell ocamlfind query lwt.unix) /liblwt_unix_stubs.a \
118119 $(shell ocamlfind query lwt.unix) /lwt_unix.a \
119- $(shell ocamlfind query lwt.unix ) /lwt.a \
120+ $(shell ocamlfind query lwt) /lwt.a \
120121 $(shell ocamlfind query threads) /libthreadsnat.a \
121122 $(shell ocamlfind query mirage-block-unix) /libmirage_block_unix_stubs.a \
122123 $(shell ocamlfind query base) /libbase_stubs.a \
124+ $(shell ocamlfind query unix-type-representations) /libunix_type_representations_stubs.a \
123125 $(LIBEV ) \
124- -lasmrun -lbigarray - lunix
126+ -lasmrun -lunix
125127
126128build/hyperkit.o : CFLAGS += -I$(OCAML_WHERE )
127129endif
@@ -206,8 +208,8 @@ artifacts: build/LICENSE build/COMMIT
206208build/LICENSE :
207209 @echo " GEN " $@
208210 @find src -type f | xargs awk ' /^\/\*-/{p=1;print FILENAME ":";print;next} p&&/^.*\*\//{print;print "";p=0};p' > $@ .tmp
209- @opam config exec -- make -C repo list-licenses
210- @cat repo /OCAML-LICENSES >> $@ .tmp
211+ @opam config exec -- make -C ocaml list-licenses
212+ @cat ocaml /OCAML-LICENSES >> $@ .tmp
211213 @mv $@ .tmp $@
212214
213215.PHONY : build/COMMIT
0 commit comments