diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-05-18 13:29:38 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-05-18 13:29:38 +0200 |
commit | 7d5e61a66a3d4ecd004f3aa44a3d1bd3682ccf07 (patch) | |
tree | c4e12f54bb719cb63060e5a5b689d533d635a92d /Makefile.in | |
parent | 271fa063a3e2078d7a046146ac2da3718b080cfa (diff) |
Fix of the previous fix
Avoid empty macro argument to avoid default behavior.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 25af140c..e1f8d9c2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -130,9 +130,12 @@ $(objdir)/sysdep/paths.h: Makefile tests_targets_ok = $(addsuffix .ok,$(tests_targets)) $(tests_targets): %: %.o $(tests_objs) - $(E)echo LD $(LDFLAGS) -o $@ $^ $(LIBS) + $(E)echo LD $(LDFLAGS) -o $@ $< "..." $(LIBS) $(Q)$(CC) $(LDFLAGS) -o $@ $^ $(LIBS) +# Hack to avoid problems with tests linking everything +$(tests_targets): LIBS += $(DAEMON_LIBS) + $(tests_targets_ok): %.ok: % $(Q)$* 2>/dev/null && touch $*.ok |