Re: Extra mangles the win32 build

From: Date: Thu, 01 Mar 2007 15:32:07 +0000
Subject: Re: Extra mangles the win32 build
References: 1 2 3 4  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-3754@lists.php.net to get a copy of this message
That really shouldn't be needed. Can you stick it into CVS for now but clearly label it as a temp hack, i.e. stick some comment before/after it? I'll get to it as soon as I can, but unlikely today. Cheers, - Steph ----- Original Message ----- From: "Elizabeth Smith" <emsmith@elizabethmariesmith.com> To: <php-gtk-dev@lists.php.net> Sent: Thursday, March 01, 2007 3:27 PM Subject: Re: [PHP-GTK-DEV] Extra mangles the win32 build
Steph Fox wrote:
Anant, Nope, I did that when I wrote the win32 build system, so basically something's wrong in the way this extension's set up. Will sort it out in a bit, - Steph
Well I'm not sure what the problem is - I have found a way around it - here's a slightly hacky patch to buildconf - just makes sure the php-gtk extension config.w32 comes before any other extensions in configure.js - but it's just a workaround, not a real fix
--------------------------------------------------------------------------------
Index: buildconf.js =================================================================== RCS file: /repository/php-gtk/win32/buildconf.js,v retrieving revision 1.7 diff -u -r1.7 buildconf.js --- buildconf.js 31 Oct 2005 11:44:42 -0000 1.7 +++ buildconf.js 1 Mar 2007 15:19:28 -0000 @@ -78,7 +78,15 @@ mod_name = module_names[i]; item = MODULES.Item(mod_name); MODULES.Remove(mod_name); - output += emit_module(item); + // hack - gtk+ MUST BE FIRST + if (mod_name == 'gtk+') + { + output = emit_module(item) + output; + } + else + { + output += emit_module(item); + } } return output;
--------------------------------------------------------------------------------
-- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.gtk.dev (#3754) next »