]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/tinydtls/0002-Fix-compilation-of-tests-directory.patch
lrzsz: install symlinks for XMODEM and YMODEM
[coffee/buildroot.git] / package / tinydtls / 0002-Fix-compilation-of-tests-directory.patch
1 From c629a108f5d03cd365c0ba71143ad507f6cd97f0 Mon Sep 17 00:00:00 2001
2 From: Fabrice Fontaine <fabrice.fontaine@orange.com>
3 Date: Thu, 28 Jul 2016 08:36:06 +0200
4 Subject: [PATCH] Fix compilation of tests directory
5
6 binaries in tests subdirectory depends on libtinydtls so add $(LIB) dependency
7 for dirs target in Makefile.in
8
9 Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
10 ---
11  Makefile.in | 4 ++--
12  1 file changed, 2 insertions(+), 2 deletions(-)
13
14 diff --git a/Makefile.in b/Makefile.in
15 index 7dcd424..c493705 100644
16 --- a/Makefile.in
17 +++ b/Makefile.in
18 @@ -68,8 +68,8 @@ check:
19         echo top_builddir: $(top_builddir)
20         $(MAKE) -C tests check
21  
22 -dirs:  $(SUBDIRS)
23 -       for dir in $^; do \
24 +dirs:  $(LIB) $(SUBDIRS)
25 +       for dir in $(SUBDIRS); do \
26                 $(MAKE) -C $$dir ; \
27         done
28  
29 -- 
30 2.7.4
31