aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.build4
-rw-r--r--configure.ml2
2 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.build b/Makefile.build
index 7b221cd829..c4fc69a59f 100644
--- a/Makefile.build
+++ b/Makefile.build
@@ -953,6 +953,10 @@ COND_OPTFLAGS= \
$(SHOW)'OCAMLC $<'
$(HIDE)cd $(dir $<) && $(OCAMLC) -ccopt "$(CFLAGS)" -c $(notdir $<)
+%.o: %.rc
+ $(SHOW)'WINDRES $<'
+ $(HIDE)i686-w64-mingw32-windres -i $< -o $@
+
%.cmi: %.mli | %.mli.d
$(SHOW)'OCAMLC $<'
$(HIDE)$(OCAMLC) $(COND_BYTEFLAGS) -c $<
diff --git a/configure.ml b/configure.ml
index 779f389b7e..6412a629ed 100644
--- a/configure.ml
+++ b/configure.ml
@@ -763,7 +763,7 @@ let coqide_flags () =
idearchdef := "QUARTZ"
end
| "opt", "win32" ->
- idearchfile := "ide/ide_win32_stubs.o";
+ idearchfile := "ide/ide_win32_stubs.o ide/coq_icon.o";
idecdepsflags := "-custom";
idearchflags := "-ccopt '-subsystem windows'";
idearchdef := "WIN32"