Revert "we use glibc, and gconv. Don't need our own transcoding stuff, glibc does"
[apps/madmutt.git] / tools / Makefile
index 4164759..e056653 100644 (file)
@@ -1,5 +1,5 @@
 cpkg2c: cpkg2c.mll
        ocamllex $<
-       $(if $(shell which ocamlopt),ocamlopt -o $@ str.cmxa,ocamlc -o $@ str.cma) $@.ml
+       $(if $(shell which ocamlopt),ocamlopt -o $@ str.cmxa unix.cmxa,ocamlc -o $@ str.cma unix.cma) $@.ml
        @$(RM) cpkg2c.ml cpkg2c.c* cpkg2c.o