Skip to content

Commit b7003ae

Browse files
committed
build: On newer MinGWs it seems that flexlink needs "-cclib -L/usr/lib". Add this.
1 parent 08bea1d commit b7003ae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,10 @@ BOOT_ML_NATIVE_LIBS := unix.cmxa nums.cmxa bigarray.cmxa
270270
BOOT_OCAMLC_FLAGS := -g $(BOOT_ML_INCS) -w Ael -warn-error Ael
271271
BOOT_OCAMLOPT_FLAGS := -g $(BOOT_ML_INCS) -w Ael -warn-error Ael
272272

273+
ifdef CFG_FLEXLINK
274+
BOOT_OCAMLOPT_FLAGS += -cclib -L/usr/lib
275+
endif
276+
273277
######################################################################
274278
# Runtime (C++) library variables
275279
######################################################################

0 commit comments

Comments
 (0)