Группа :: Разработка/ML
Пакет: ocaml-extlib
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: ocaml-extlib-1.7.8-alt.patch
Скачать
Скачать
Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index a8ebfc1..34cc867 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,10 @@ ifdef minimal
MODULES := $(filter-out base64 unzip uChar uTF8, $(MODULES))
endif
+ifndef OCAMLFIND
+ OCAMLFIND := ocamlfind
+endif
+
CPPO_ARGS := $(shell ocaml configure.ml -cppo-args)
CPPO := cppo $(CPPO_ARGS)
@@ -58,7 +62,7 @@ extBytes.mli: extBytes.ml
$(OCAMLC) -i $< > $@
install:
- ocamlfind install -patch-version $(VERSION) extlib META extLib.cma $(MLI) $(CMI) -optional extLib.cmxa $(CMX) extLib.cmxs extLib.a extLib.lib $(CMT) $(CMTI)
+ $(OCAMLFIND) install $(OCAMLFIND_INSTFLAGS) -patch-version $(VERSION) extlib META extLib.cma $(MLI) $(CMI) -optional extLib.cmxa $(CMX) extLib.cmxs extLib.a extLib.lib $(CMT) $(CMTI)
uninstall:
ocamlfind remove extlib