diff --git a/Makefile.in b/Makefile.in index c419e33..8d7e0b2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -50,13 +50,13 @@ sharedlib: $(BUILDDIR)/lib$(LIBRARY)$(EXTDLL) ifeq ($(OSTYPE),$(filter $(OSTYPE),Win32 Cygwin)) $(BUILDDIR)/lib$(LIBRARY)$(EXTDLL): $(CAML_INIT) $(LIBFILES) - $(OCAMLOPT) -o $@ -linkpkg -output-obj -verbose -package $(PACKAGES) $^ + $(OCAMLOPT) -o $@ -thread -linkpkg -output-obj -verbose -package $(PACKAGES) $^ else ifeq ($(SYSTEM),$(filter $(SYSTEM),macosx)) $(BUILDDIR)/lib$(LIBRARY)$(EXTDLL): $(CAML_INIT) $(LIBFILES) - $(OCAMLOPT) -o $@ -linkpkg -runtime-variant _pic -verbose -ccopt -dynamiclib -package $(PACKAGES) $^ + $(OCAMLOPT) -o $@ -thread -linkpkg -runtime-variant _pic -verbose -ccopt -dynamiclib -package $(PACKAGES) $^ else $(BUILDDIR)/lib$(LIBRARY)$(EXTDLL): $(CAML_INIT) $(LIBFILES) - $(OCAMLOPT) -o $@ -linkpkg -output-obj -runtime-variant _pic -verbose -package $(PACKAGES) $^ + $(OCAMLOPT) -o $@ -thread -linkpkg -output-obj -runtime-variant _pic -verbose -package $(PACKAGES) $^ endif stubs: $(GENERATED) @@ -75,7 +75,7 @@ $(BUILDDIR)/%.cmx: %.ml $(OCAMLOPT) -c -o $@ -I $(BUILDDIR)/generated -I $(BUILDDIR)/lib -package $(PACKAGES) $< $(GENERATOR): $(GENERATOR_FILES) - $(OCAMLOPT) -o $@ -linkpkg -package $(PACKAGES) $^ + $(OCAMLOPT) -o $@ -thread -linkpkg -package $(PACKAGES) $^ clean: rm -rf $(BUILDDIR)