diff options
author | elliott_c <ocielliottc@users.noreply.github.com> | 2002-06-26 16:27:33 +0000 |
---|---|---|
committer | elliott_c <ocielliottc@users.noreply.github.com> | 2002-06-26 16:27:33 +0000 |
commit | ba3dab277c3bb0820c73485ae7e94848c944db81 (patch) | |
tree | 28ae9130b2614c6c0249de532b21842078af683a | |
parent | 6a26de752e8c5eb3334f04b67b04e56029d67980 (diff) | |
download | ATCD-ba3dab277c3bb0820c73485ae7e94848c944db81.tar.gz |
Do not create dependencies for static projects
-rw-r--r-- | bin/MakeProjectCreator/modules/VC6ProjectCreator.pm | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/bin/MakeProjectCreator/modules/VC6ProjectCreator.pm b/bin/MakeProjectCreator/modules/VC6ProjectCreator.pm index 5b2264dfc7f..28fb282ba85 100644 --- a/bin/MakeProjectCreator/modules/VC6ProjectCreator.pm +++ b/bin/MakeProjectCreator/modules/VC6ProjectCreator.pm @@ -26,7 +26,7 @@ sub get_type_append { my($type) = ""; if ($self->lib_target()) { ## Set the type_append preserving whitespace - if ($self->get_writing_type()) { + if ($self->get_writing_type() == 1) { $type = " LIB"; } else { @@ -46,16 +46,15 @@ sub translate_value { my($arr) = $self->create_array($val); my($app) = ""; $val = ""; - if ($self->get_writing_type()) { - $app = "LIB"; - } - else { + + ## Only write dependencies for non-static projects + if ($self->get_writing_type() == 0) { $app = "DLL"; + foreach my $entry (@$arr) { + $val .= "\"$entry $app\" "; + } + $val =~ s/\s+$//; } - foreach my $entry (@$arr) { - $val .= "\"$entry $app\" "; - } - $val =~ s/\s+$//; } return $val; } |