diff options
| author | Patrick Walton <[email protected]> | 2011-03-23 16:36:43 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2011-03-23 16:37:45 -0700 |
| commit | b7003ae6fa4493b81351496eac2fbfe7d1105e22 (patch) | |
| tree | fd3f3bdf5b35d23295d2da49755bb74fac1cf26d | |
| parent | Revert "Change the type of the second argument of upcalls to be a %task*.", b... (diff) | |
| download | rust-b7003ae6fa4493b81351496eac2fbfe7d1105e22.tar.xz rust-b7003ae6fa4493b81351496eac2fbfe7d1105e22.zip | |
build: On newer MinGWs it seems that flexlink needs "-cclib -L/usr/lib". Add this.
| -rw-r--r-- | Makefile.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index 7c036fd6..8685cfa6 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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 ###################################################################### |