summaryrefslogtreecommitdiffstats
path: root/package/tinydtls/0002-Fix-compilation-of-tests-directory.patch
blob: 0ab579c45e707d38fcc323fec0fd494c65e4e05f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From c629a108f5d03cd365c0ba71143ad507f6cd97f0 Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fabrice.fontaine@orange.com>
Date: Thu, 28 Jul 2016 08:36:06 +0200
Subject: [PATCH] Fix compilation of tests directory

binaries in tests subdirectory depends on libtinydtls so add $(LIB) dependency
for dirs target in Makefile.in

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
---
 Makefile.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 7dcd424..c493705 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -68,8 +68,8 @@ check:
 	echo top_builddir: $(top_builddir)
 	$(MAKE) -C tests check
 
-dirs:	$(SUBDIRS)
-	for dir in $^; do \
+dirs:	$(LIB) $(SUBDIRS)
+	for dir in $(SUBDIRS); do \
 		$(MAKE) -C $$dir ; \
 	done
 
-- 
2.7.4

OpenPOWER on IntegriCloud