summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-11-30 17:08:27 +0000
committerRichard W.M. Jones <rjones@redhat.com>2011-12-02 08:37:09 +0000
commitab121fb2e2c58fa340757f8be888d01a053a4d1c (patch)
treeed402083e1902ec0ebb5a9c12baa5bdc3d56fe85
parent3aa164d5283d13085a2adc9579b19068ef065648 (diff)
downloadlibguestfs-ab121fb2e2c58fa340757f8be888d01a053a4d1c.tar.gz
libguestfs-ab121fb2e2c58fa340757f8be888d01a053a4d1c.tar.xz
libguestfs-ab121fb2e2c58fa340757f8be888d01a053a4d1c.zip
ocaml: Fix OCaml dependencies.
(cherry picked from commit ce331df0f1857bccebaaddfac79677bc9f527197)
-rw-r--r--ocaml/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am
index 52870354..95185efd 100644
--- a/ocaml/Makefile.am
+++ b/ocaml/Makefile.am
@@ -139,9 +139,9 @@ depend: .depend
.depend: $(wildcard *.mli) $(wildcard *.ml)
rm -f $@ $@-t
$(OCAMLFIND) ocamldep $^ | \
- $(SED) 's/ *$$//' | \
+ $(SED) -e 's/ *$$//' | \
$(SED) -e :a -e '/ *\\$$/N; s/ *\\\n */ /; ta' | \
- sort > $@-t
+ LANG=C sort > $@-t
mv $@-t $@
include .depend