summaryrefslogtreecommitdiff
path: root/win32-fixup.pl
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2007-12-21 10:11:35 +0000
committerHans Breuer <hans@src.gnome.org>2007-12-21 10:11:35 +0000
commit1cda3c9e017ce9359d5019bb7bc8993208523891 (patch)
tree33c8a43181004c13db498d024bec949ee3b8d4b3 /win32-fixup.pl
parent2c0f3fc5ff74b9b3940eece169ec17e3411d72a1 (diff)
adapt to recent api changes variable declaration at the beginning of a
2007-12-09 Hans Breuer <hans@breuer.org> * tests/gio-ls.c : adapt to recent api changes * tests/testglib.c : variable declaration at the beginning of a block (Lieven van der Heide, #503602) * win32-fixup.pl : process *.rc.in as well; substitute LT_CURRENT_MINUS_AGE * glib/makefile.msc.in : alphabetic sorting of OBJECTS svn path=/trunk/; revision=6184
Diffstat (limited to 'win32-fixup.pl')
-rw-r--r--win32-fixup.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/win32-fixup.pl b/win32-fixup.pl
index cb1a7a859..2134c385e 100644
--- a/win32-fixup.pl
+++ b/win32-fixup.pl
@@ -6,6 +6,7 @@ $micro = 7;
$binary_age = 0;
$interface_age = 0;
$gettext_package = "glib20";
+$current_minus_age = 0;
sub process_file
{
@@ -22,6 +23,7 @@ sub process_file
s/\@GLIB_INTERFACE_AGE\@/$interface_age/g;
s/\@GLIB_BINARY_AGE\@/$binary_age/g;
s/\@GETTEXT_PACKAGE\@/$gettext_package/g;
+ s/\@LT_CURRENT_MINUS_AGE@/$current_minus_age/g;
print OUTPUT;
}
}
@@ -29,7 +31,11 @@ sub process_file
process_file ("config.h.win32");
process_file ("glibconfig.h.win32");
process_file ("glib/makefile.msc");
+process_file ("glib/glib.rc");
process_file ("gmodule/makefile.msc");
+process_file ("gmodule/gmodule.rc");
process_file ("gobject/makefile.msc");
+process_file ("gobject/gobject.rc");
process_file ("gthread/makefile.msc");
+process_file ("gthread/gthread.rc");
process_file ("tests/makefile.msc");