diff --git a/Changes b/Changes index b74e0c5..f4d2082 100644 --- a/Changes +++ b/Changes @@ -7,7 +7,7 @@ Release 1.13 (2023-07-19) - #118: fix Z_mlgmpidl interface for mlgmpidl >= 1.2 [Simmo Saan] - #109: fix typo in `ml_z_mul` function [Bernhard Schommer] - #108: fix dependency on C evaluation order in `ml_z_remove` [Xavier Clerc] -- #117 #120 #124 #129 #132 #135 #139 #141: configure & build simplifications and fixes [various authors] +- #117 #120 #129 #132 #135 #139 #141: configure & build simplifications and fixes [various authors] - #134: CI testing: add Windows, test both 4.14 and 5.0 [Hugo Heuzard] Release 1.12 (2021-03-03) diff --git a/project.mak b/project.mak index 018801d..3d5a837 100644 --- a/project.mak +++ b/project.mak @@ -62,8 +62,6 @@ TOINSTALL += $(CMIDOC) OCAMLFLAGS += -bin-annot endif -MKLIBLDFLAGS = $(foreach flag, $(LDFLAGS), -ldopt $(flag)) - # build targets ############### @@ -73,16 +71,16 @@ tests: make -C tests test zarith.cma: $(MLSRC:%.ml=%.cmo) - $(OCAMLMKLIB) $(DEBUG) -failsafe -o zarith $+ $(LIBS) $(MKLIBLDFLAGS) + $(OCAMLMKLIB) $(DEBUG) -failsafe -o zarith $+ $(LIBS) $(LDFLAGS) zarith.cmxa: $(MLSRC:%.ml=%.cmx) - $(OCAMLMKLIB) $(DEBUG) -failsafe -o zarith $+ $(LIBS) $(MKLIBLDFLAGS) + $(OCAMLMKLIB) $(DEBUG) -failsafe -o zarith $+ $(LIBS) $(LDFLAGS) zarith.cmxs: zarith.cmxa libzarith.$(LIBSUFFIX) $(OCAMLOPT) -shared -o $@ -I . zarith.cmxa -linkall libzarith.$(LIBSUFFIX): $(CSRC:%.c=%.$(OBJSUFFIX)) - $(OCAMLMKLIB) $(DEBUG) -failsafe -o zarith $+ $(LIBS) $(MKLIBLDFLAGS) + $(OCAMLMKLIB) $(DEBUG) -failsafe -o zarith $+ $(LIBS) $(LDFLAGS) zarith_top.cma: zarith_top.cmo $(OCAMLC) $(DEBUG) -o $@ -a $<