diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-06-25 03:40:34 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:18:47 -0500 |
commit | 1af480a32dcbae582aa617410d248663349e7498 (patch) | |
tree | ce0cfdaf41746c8064c30ababb464569b27508d8 /source4/build | |
parent | 3699e58f1fa9d87b325dda90eff52c6cd0a29d3b (diff) | |
download | samba-1af480a32dcbae582aa617410d248663349e7498.tar.gz samba-1af480a32dcbae582aa617410d248663349e7498.tar.bz2 samba-1af480a32dcbae582aa617410d248663349e7498.zip |
r7896: don't output null rules for blank targets (caued make failure on irix)
(This used to be commit 8b299e1518b6864dc3ca5b86441290047ef6ed14)
Diffstat (limited to 'source4/build')
-rw-r--r-- | source4/build/smb_build/makefile.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm index 28157da81e..d38572e951 100644 --- a/source4/build/smb_build/makefile.pm +++ b/source4/build/smb_build/makefile.pm @@ -362,6 +362,10 @@ sub _prepare_objlist_rule($) my $tmpdepend = array2oneperline($ctx->{DEPEND_LIST}); my $output; + if (! $ctx->{TARGET}) { + return ""; + } + $output = "$ctx->{TYPE}_$ctx->{NAME}_DEPEND_LIST = $tmpdepend\n"; $output .= "$ctx->{TARGET}: "; |