git: bsd.hostlib.mk: Fix case where SRCS is defined but empty
marino at crater.dragonflybsd.org
Wed Jan 28 03:48:21 PST 2015
Author: John Marino <draco at marino.st>
Date: Wed Jan 28 12:47:55 2015 +0100
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.
Summary of changes:
share/mk/bsd.hostlib.mk | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
DragonFly BSD source repository
More information about the Commits