diff --git a/sw/ground_segment/wind/Makefile b/sw/ground_segment/wind/Makefile index d8c3cdf3a8..620e7fd605 100644 --- a/sw/ground_segment/wind/Makefile +++ b/sw/ground_segment/wind/Makefile @@ -36,7 +36,7 @@ wind : wind.cmi wind : wind.ml $(OCAMLC) -o $@ xml-light.cma glibivy-ocaml.cma lablgtk.cma str.cma lib-pprz.cma $< # To check cat ../../../pprz_src_test.sh > $@ - echo 'ocaml -I +lablgtk2 -I $$PAPARAZZI_SRC/sw/lib/ocaml xml-light.cma glibivy-ocaml.cma lablgtk.cma str.cma lib-pprz.cma $$PAPARAZZI_SRC/sw/ground_segment/wind/$< $$*' >> $@ + echo 'ocaml -I +lablgtk2 -I $$PAPARAZZI_SRC/sw/lib/ocaml -I +xml-light xml-light.cma glibivy-ocaml.cma lablgtk.cma str.cma lib-pprz.cma $$PAPARAZZI_SRC/sw/ground_segment/wind/$< $$*' >> $@ chmod a+x $@ diff --git a/sw/tools/Makefile b/sw/tools/Makefile index 4e444ea616..02c958435e 100644 --- a/sw/tools/Makefile +++ b/sw/tools/Makefile @@ -48,7 +48,7 @@ fp_syntax.cmo : fp_syntax.cmi @echo OC $< $(Q)$(OCAMLC) -o $@ ivy-ocaml.cma lib-pprz.cma $< @cat ../../pprz_src_test.sh > $@ - @echo '$(OCAML) -I $$PAPARAZZI_SRC/sw/lib/ocaml ivy-ocaml.cma lib-pprz.cma $$PAPARAZZI_BIN/$< $$*' >> $@ + @echo '$(OCAML) -I +xml-light -I $$PAPARAZZI_SRC/sw/lib/ocaml ivy-ocaml.cma lib-pprz.cma $$PAPARAZZI_BIN/$< $$*' >> $@ @chmod a+x $@ %.cmo : %.ml ../lib/ocaml/lib-pprz.cma