[gtk+] Fix windres invocation



commit bba72eae50f29fe27b08fe68d12afd41968f6605
Author: ÐÑÑÐÐÐ ÐÐÐÑÐÐÑÐÐ <lrn1986 gmail com>
Date:   Sat May 12 20:29:13 2012 +0400

    Fix windres invocation
    
    Signed-off-by: Chun-wei Fan <fanchunwei src gnome org>

 gdk/win32/rc/Makefile.am |    2 +-
 gdk/win32/rc/gdk.rc.in   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/win32/rc/Makefile.am b/gdk/win32/rc/Makefile.am
index 9171923..4196109 100644
--- a/gdk/win32/rc/Makefile.am
+++ b/gdk/win32/rc/Makefile.am
@@ -10,6 +10,6 @@ noinst_DATA = gdk-win32-res.o
 endif
 
 gdk-win32-res.o : gdk.rc gtk.ico
-	$(WINDRES) gdk.rc $@
+	$(WINDRES) -I $(srcdir) gdk.rc $@
 
 -include $(top_srcdir)/git.mk
diff --git a/gdk/win32/rc/gdk.rc.in b/gdk/win32/rc/gdk.rc.in
index 411a11f..07ab1b4 100644
--- a/gdk/win32/rc/gdk.rc.in
+++ b/gdk/win32/rc/gdk.rc.in
@@ -1,6 +1,6 @@
 #include <winver.h>
 
-GTK_ICON		ICON			"@srcdir@/gtk.ico"
+GTK_ICON		ICON			"gtk.ico"
 
 VS_VERSION_INFO VERSIONINFO
   FILEVERSION @GTK_MAJOR_VERSION@,@GTK_MINOR_VERSION@,@GTK_MICRO_VERSION@,0



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]