summaryrefslogtreecommitdiff
blob: ff5be04853ffb67f857826357325045b56b74956 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- unison-2.17.1/Makefile.OCaml
+++ unison-2.17.1/Makefile.OCaml
@@ -330,7 +330,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.