build: On newer MinGWs it seems that flexlink needs "-cclib -L/usr/lib". Add this.

This commit is contained in:
Patrick Walton 2011-03-23 16:36:43 -07:00
parent 08bea1d9a2
commit b7003ae6fa
1 changed files with 4 additions and 0 deletions

View File

@ -270,6 +270,10 @@ BOOT_ML_NATIVE_LIBS := unix.cmxa nums.cmxa bigarray.cmxa
BOOT_OCAMLC_FLAGS := -g $(BOOT_ML_INCS) -w Ael -warn-error Ael
BOOT_OCAMLOPT_FLAGS := -g $(BOOT_ML_INCS) -w Ael -warn-error Ael
ifdef CFG_FLEXLINK
BOOT_OCAMLOPT_FLAGS += -cclib -L/usr/lib
endif
######################################################################
# Runtime (C++) library variables
######################################################################