[gedit] W32: Include rc file by its absolute name
- From: Руслан Ижбулатов <ruslanizhb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] W32: Include rc file by its absolute name
- Date: Thu, 10 Apr 2014 13:48:34 +0000 (UTC)
commit 786ef530682797cdb50d16f2410e1418d22ac9b7
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date: Sat Apr 5 12:40:34 2014 +0000
W32: Include rc file by its absolute name
Otherwise you get something like this at compile time:
windres -i gedit/gedit.rc --input-format=rc -o gedit/gedit-res.o -O coff
i686-w64-mingw32-gcc: error: gedit/gedit.rc: No such file or directory
i686-w64-mingw32-gcc: warning: '-x c' after last input file has no effect
i686-w64-mingw32-gcc: fatal error: no input files
https://bugzilla.gnome.org/show_bug.cgi?id=727658
gedit/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gedit/Makefile.am b/gedit/Makefile.am
index 66ed450..8bf060a 100644
--- a/gedit/Makefile.am
+++ b/gedit/Makefile.am
@@ -75,7 +75,7 @@ gedit_libwin32_la_CFLAGS = $(gedit_common_cflags)
gedit_libgedit_la_LIBADD += gedit/libwin32.la
gedit/gedit-res.o: gedit/gedit.rc
- $(WINDRES) -i gedit/gedit.rc --input-format=rc -o gedit/gedit-res.o -O coff
+ $(WINDRES) -i $(top_srcdir)/gedit/gedit.rc --input-format=rc -o gedit/gedit-res.o -O coff
gedit_gedit_LDADD += gedit/gedit-res.o
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]