summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-10-24 12:06:41 -0500
committerJohn Estabrook <jestabro@vyos.io>2024-10-24 12:06:41 -0500
commita8f254dac6a0f4282ae9a8ddd4180f05a749e155 (patch)
tree1ee585d0f1b713aa37e322fe899e543a6d5ed8be
parent9e4f6c1494fcff64ad22503b704dbdd43347b0a6 (diff)
downloadlibvyosconfig-a8f254dac6a0f4282ae9a8ddd4180f05a749e155.tar.gz
libvyosconfig-a8f254dac6a0f4282ae9a8ddd4180f05a749e155.zip
Add missing -thread link.
Links added in earlier commit, but one instance missed. Cf. https://github.com/ocamllabs/ocaml-ctypes/pull/651
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 810ccd6..5c798c3 100644
--- a/Makefile
+++ b/Makefile
@@ -61,7 +61,7 @@ $(BUILDDIR)/%.o: %.c
$(CC) -c -o $@ -fPIC -I $(shell ocamlfind query ctypes) -I $(OCAMLDIR) -I $(OCAMLDIR)/../ctypes $<
$(BUILDDIR)/%.cmx: %.ml
- ocamlfind opt -c -o $@ -I $(BUILDDIR)/generated -I $(BUILDDIR)/lib -package $(PACKAGES) $<
+ ocamlfind opt -c -o $@ -I $(BUILDDIR)/generated -I $(BUILDDIR)/lib -thread -package $(PACKAGES) $<
$(GENERATOR): $(GENERATOR_FILES)
ocamlfind opt -o $@ -I $(BUILDDIR)/lib -linkpkg -thread -package $(PACKAGES) $^