widl: Added an option to set importlib search path.

Jacek Caban jacek at codeweavers.com
Mon May 15 13:39:15 CDT 2006


Alexandre Julliard wrote:
> Jacek Caban <jacek at codeweavers.com> writes:
>
>   
>> @@ -60,6 +61,7 @@ static char usage[] =
>>  "   -h          Generate headers\n"
>>  "   -H file     Name of header file (default is infile.h)\n"
>>  "   -I path     Set include search dir to path (multiple -I allowed)\n"
>> +"   -L path     Set importlib search dir to path (multiple -L allowed)\n"
>>     
>
> Shouldn't we use the -I path instead?  midl doesn't seem to have a
> separate option for this.
>   

We can't really do it the way midl does. midl can import files from
system directories and from resource of dlls. In UNIX we don't have such
dirs. We can add support for tlb libs in PE files, but I don't think we
want to do it for Wine's builtin dlls. I thought that we could add an
other, more UNIX like, option that will be a nice workaround. Of course
-I also does the trick although IMO it's better to have -L option. I'll
send a patch that uses include search patch so you can decide which one
to use.

Thanks,
    Jacek



More information about the wine-patches mailing list