diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-04-02 18:14:27 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:49:44 -0500 |
commit | 8d525c81879fbc93f9d710ba7976f114588d7ffb (patch) | |
tree | c820f6d1f9278f5f99a121a5db12b232ce531596 /source4/build | |
parent | 4873704e5a2ecdf13185ac1787ae912d231fc579 (diff) | |
download | samba-8d525c81879fbc93f9d710ba7976f114588d7ffb.tar.gz samba-8d525c81879fbc93f9d710ba7976f114588d7ffb.tar.bz2 samba-8d525c81879fbc93f9d710ba7976f114588d7ffb.zip |
r22038: - fix perl warning
- use the same if statement as in input.pm
metze
(This used to be commit 8ffcac65be216df8d1701b900a933b99d6d9a77d)
Diffstat (limited to 'source4/build')
-rw-r--r-- | source4/build/smb_build/makefile.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm index a7b5d4cb1c..2df85461c6 100644 --- a/source4/build/smb_build/makefile.pm +++ b/source4/build/smb_build/makefile.pm @@ -396,7 +396,7 @@ $installdir/$ctx->{BINARY}: \$($ctx->{TYPE}_$ctx->{NAME}_DEPEND_LIST) \$($ctx->{ __EOD__ ); - if ($ctx->{"USE_HOSTCC"} =~ m/yes/i) { + if (defined($ctx->{USE_HOSTCC}) && $ctx->{USE_HOSTCC} eq "YES") { $self->output(<< "__EOD__" \@\$(HOSTLD) \$(LDFLAGS) -o \$\@ \$(INSTALL_LINK_FLAGS) \\ \$\($ctx->{TYPE}_$ctx->{NAME}_LINK_FLAGS) |