logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Extra mangles the win32 build: msg#00002

Subject: Re: 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

Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>