Skip to content

Commit 206b471

Browse files
committed
build: Fix OCAML build
fixes #305 Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
1 parent d201905 commit 206b471

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ OCAML_PACKS := cstruct cstruct-lwt io-page io-page.unix uri mirage-block \
110110
mirage-unix prometheus-app conduit-lwt cohttp-lwt-unix \
111111
unix-type-representations
112112
OCAML_LDLIBS := -L $(OCAML_WHERE) \
113+
$(shell ocamlfind query bigstringaf)/bigstringaf.a \
114+
$(shell ocamlfind query bigstringaf)/libbigstringaf_stubs.a \
113115
$(shell ocamlfind query cstruct)/cstruct.a \
114116
$(shell ocamlfind query cstruct)/libcstruct_stubs.a \
115117
$(shell ocamlfind query io-page)/io_page.a \

config.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,5 @@ LDFLAGS := \
8080
-arch x86_64 \
8181
-framework Hypervisor \
8282
-framework vmnet \
83+
-Wl,-no_compact_unwind \
8384
$(LDFLAGS_DBG)

0 commit comments

Comments
 (0)