summaryrefslogtreecommitdiffstats
path: root/src/ocaml-camlimages.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2012-12-14 08:58:29 (GMT)
committerTony Theodore <tonyt@logyst.com>2012-12-14 10:33:32 (GMT)
commitcc9f261f97c637455a18981c26d6203721bd1194 (patch)
treebd2928c023454c11ffccfe2c020809e064393dc4 /src/ocaml-camlimages.mk
parent72ec9d73d2cebafb567fbc016315a1c810d51809 (diff)
downloadmxe-cc9f261f97c637455a18981c26d6203721bd1194.zip
mxe-cc9f261f97c637455a18981c26d6203721bd1194.tar.gz
mxe-cc9f261f97c637455a18981c26d6203721bd1194.tar.bz2
package ocaml-camlimages: portability fixes and disable parallel build
Diffstat (limited to 'src/ocaml-camlimages.mk')
-rw-r--r--src/ocaml-camlimages.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ocaml-camlimages.mk b/src/ocaml-camlimages.mk
index 442d582..7a5b5bd 100644
--- a/src/ocaml-camlimages.mk
+++ b/src/ocaml-camlimages.mk
@@ -27,7 +27,9 @@ define $(PKG)_BUILD
--host $(TARGET) \
--disable-bytecode-library \
--disable-shared
- $(MAKE) -C '$(1)' -j '$(JOBS)' install
+ $(SED) -i 's,sed,$(SED),g' $(1)/Makefile
+ $(SED) -i 's,sed,$(SED),g' $(1)/src/Makefile
+ $(MAKE) -C '$(1)' -j 1 install
# test
cp '$(2).ml' '$(1)/test.ml'
cd '$(1)' && '$(TARGET)-ocamlfind' opt -linkpkg -package camlimages test.ml