Skip to content

Commit

Permalink
Add missing -thread link.
Browse files Browse the repository at this point in the history
Links added in earlier commit, but one instance missed. Cf.
yallop/ocaml-ctypes#651
  • Loading branch information
jestabro committed Oct 7, 2024
1 parent 65e6bd9 commit 524ebbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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) $^
Expand Down

0 comments on commit 524ebbf

Please sign in to comment.