winemaker: Add def file support
Alexandre Julliard
julliard at winehq.org
Tue Jan 4 07:50:13 CST 2011
André Hentschel <nerv at dawncrow.de> writes:
> @@ -2480,7 +2498,9 @@ sub generate_project_files($)
> my $canon=canonize("@$target[$T_NAME]");
> $canon =~ s/_so$//;
>
> - if (@$target[$T_TYPE] == $TT_DLL) {
> + if (@$target[$T_TYPE] == $TT_DLL && (@$project_settings[$T_FLAGS] & $TF_HASDEF)) {
> + print FILEO "\$(${canon}_MODULE).so: \$(${canon}_OBJS) \$(${canon}_MODULE:%.dll=lib%.def)\n";
> + } elsif (@$target[$T_TYPE] == $TT_DLL) {
There's no reason to add a lib prefix.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list