bsd.hostlib.mk: Fix case where SRCS is defined but empty
authorJohn Marino <draco@marino.st>
Wed, 28 Jan 2015 11:47:55 +0000 (12:47 +0100)
committerJohn Marino <draco@marino.st>
Wed, 28 Jan 2015 11:47:55 +0000 (12:47 +0100)
commit13804decee4d02ec04104e24a5f5f83a343c5d75
tree9e9b41f555306df6ec68c8d143b133e9c873cf49
parent9cb60aff401d26ea51329803820bdf3f915ed385
bsd.hostlib.mk: Fix case where SRCS is defined but empty

This is similar to the recent changes to bsd.lib.mk and bsd.prog.mk.
The check covers two augmentations to OBJS, plus let's add some indents
for readability.  Note the second augmentation didn't have a bug in it,
so including it inside the wrap only saves having to evaluate it.
share/mk/bsd.hostlib.mk