Re: [2/4] winemaker: Generate def file from spec file with winebuild (try 2)
10 Oct
2012
10 Oct
'12
11:54 a.m.
André Hentschel <nerv(a)dawncrow.de> writes:
@@ -2569,6 +2570,7 @@ sub generate_project_files($) 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 "\t\$(WINEBUILD) --def -E \$(${canon}_MODULE:.dll=.spec) -o lib\$(${canon}_MODULE:.dll=.def)\n";
That's not much better. You should have a proper target for it, and a dependency from the modules that import that dll. -- Alexandre Julliard julliard(a)winehq.org
4901
Age (days ago)
4901
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard