svn commit: samba r22038 - in
branches/SAMBA_4_0/source/build/smb_build: .
metze at samba.org
metze at samba.org
Mon Apr 2 18:14:29 GMT 2007
Author: metze
Date: 2007-04-02 18:14:27 +0000 (Mon, 02 Apr 2007)
New Revision: 22038
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22038
Log:
- fix perl warning
- use the same if statement as in input.pm
metze
Modified:
branches/SAMBA_4_0/source/build/smb_build/makefile.pm
Changeset:
Modified: branches/SAMBA_4_0/source/build/smb_build/makefile.pm
===================================================================
--- branches/SAMBA_4_0/source/build/smb_build/makefile.pm 2007-04-02 17:29:03 UTC (rev 22037)
+++ branches/SAMBA_4_0/source/build/smb_build/makefile.pm 2007-04-02 18:14:27 UTC (rev 22038)
@@ -396,7 +396,7 @@
__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)
More information about the samba-cvs
mailing list