--- Makefile.OCaml.orig 2009-07-28 18:10:35 +0400 +++ Makefile.OCaml 2009-07-28 18:10:56 +0400 @@ -364,7 +364,7 @@ $(NAME)$(EXEC_EXT): $(CAMLOBJS) $(COBJS) @echo Linking $@ - $(CAMLC) -verbose $(CAMLFLAGS) -o $@ $(CFLAGS) $(CAMLLIBS) $(CLIBS) $^ + $(CAMLC) -verbose $(CAMLFLAGS) -o $@ $(CFLAGS) $(CAMLLIBS) $^ $(CLIBS) # Unfortunately -output-obj does not put .o files into the output, only .cmx # files, so we have to use $(LD) to take care of COBJS.