From: Stephane Glondu <steph@glondu.net>
Date: Wed, 18 Jun 2014 11:14:55 +0200
Subject: Bytecode-only support

---
 compiler/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/Makefile b/compiler/Makefile
index 0878911..3c62ad9 100644
--- a/compiler/Makefile
+++ b/compiler/Makefile
@@ -3,7 +3,7 @@ include ../Makefile.conf
 
 all: $(COMPILER) $(MINIFIER) man
 
-lib: compiler.cma compiler.cmxa compiler.cmxs
+lib: compiler.cma $(if $(wildcard /usr/bin/ocamlopt),compiler.cmxa) $(if $(wildcard /usr/lib/ocaml/dynlink.cmxa),compiler.cmxs)
 
 PACKAGES=findlib,cmdliner
 
-- 
