diff --git a/src/post_modules/GTK/build_pgtk.pike b/src/post_modules/GTK/build_pgtk.pike index 5d707dcc98a322a6ab65ca264f4ef348e0ef1d10..3b5afea1b4d8054ab11ee5324143b28d7de8db2d 100755 --- a/src/post_modules/GTK/build_pgtk.pike +++ b/src/post_modules/GTK/build_pgtk.pike @@ -210,7 +210,8 @@ string emit_function_def( string fun, string cfun, string type, int opt ) type = function_type( type ); emit_nl( " quick_add_function((char*)_data+"+data_offset(fun)+","+ strlen(fun)+","+cfun+",(char*)_data+"+data_offset( type )+ - ","+strlen(type)+","+(fun=="create"?"ID_STATIC":"0")+",0);\n"); + ","+strlen(type)+","+(fun=="create"?"ID_STATIC":"0")+"," + "OPT_SIDE_EFFECT|OPT_EXTERNAL_DEPEND);\n"); } int _num_functions;