ocaml: num: Allow to disable dynamic linking

This commit is contained in:
Alexander Bantyev
2019-11-14 23:28:51 +03:00
parent 81ca7cc0a7
commit 07b838f13b
2 changed files with 15 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
diff -u a/src/Makefile b/src/Makefile
--- a/src/Makefile
+++ b/src/Makefile
@@ -45,7 +45,7 @@
endif
libnums.$(A): $(COBJS)
- $(OCAMLMKLIB) -oc nums $(COBJS)
+ $(OCAMLMKLIB) -custom -oc nums $(COBJS)
nums.cma: $(CMOS)
$(OCAMLMKLIB) -o nums -oc nums -linkall $(CMOS)