winemaker: Add spec file dependency for dlls.

This commit is contained in:
André Hentschel 2010-11-16 22:43:55 +01:00 committed by Alexandre Julliard
parent 119860b05f
commit 189a5d0978
1 changed files with 6 additions and 2 deletions

View File

@ -20,7 +20,7 @@ use strict;
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#
my $version="0.7.4";
my $version="0.7.5";
use Cwd;
use File::Basename;
@ -2475,7 +2475,11 @@ sub generate_project_files($)
my $canon=canonize("@$target[$T_NAME]");
$canon =~ s/_so$//;
print FILEO "\$(${canon}_MODULE).so: \$(${canon}_OBJS)\n";
if (@$target[$T_TYPE] == $TT_DLL) {
print FILEO "\$(${canon}_MODULE).so: \$(${canon}_OBJS) \$(${canon}_MODULE:.dll=.spec)\n";
} else {
print FILEO "\$(${canon}_MODULE).so: \$(${canon}_OBJS)\n";
}
if (@{@$target[$T_SOURCES_CXX]} > 0 or @{@$project_settings[$T_SOURCES_CXX]} > 0) {
print FILEO "\t\$(CXX)";
} else {