[3/3] winemaker: Generate def file from spec file with winebuild
Alexandre Julliard
julliard at winehq.org
Tue Oct 9 03:03:14 CDT 2012
André Hentschel <nerv at dawncrow.de> writes:
> @@ -2576,7 +2577,9 @@ sub generate_project_files($)
> if (@$target[$T_TYPE] == $TT_DLL && (@$project_settings[$T_FLAGS] & $TF_HASDEF)) {
> print FILEO "\$(${canon}_MODULE).so: \$(${canon}_OBJS) \$(${canon}_MODULE:.dll=.def)\n";
> } elsif (@$target[$T_TYPE] == $TT_DLL) {
> - print FILEO "\$(${canon}_MODULE).so: \$(${canon}_OBJS) \$(${canon}_MODULE:.dll=.spec)\n";
> + print FILEO "lib\$(${canon}_MODULE:.dll=.def): \$(${canon}_MODULE:.dll=.spec)\n";
> + print FILEO "\t\$(WINEBUILD) --def -E \$(${canon}_MODULE:.dll=.spec) -o lib\$(${canon}_MODULE:.dll=.def)\n\n";
> + print FILEO "\$(${canon}_MODULE).so: \$(${canon}_OBJS) \$(${canon}_MODULE:.dll=.spec) lib\$(${canon}_MODULE:.dll=.def)\n";
The .so doesn't depend on the .def.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list