The lib6 tests seem to fail the first pass through building for me
because ranlib does not seem to get set correctly at any point.  This
seems to fix it up for me.

Thanks,
Paul Larson



Fix build problem with lib6 tests


Signed-off-by: Paul Larson <[email protected]>
---

diff --git a/testcases/network/lib6/Makefile b/testcases/network/lib6/Makefile
index 7c1784d..f622468 100644
--- a/testcases/network/lib6/Makefile
+++ b/testcases/network/lib6/Makefile
@@ -23,6 +23,10 @@
 CFLAGS+=	-I../../../include -g -D_GNU_SOURCE
 LOADLIBES+=	-L../../../lib runcc.a -lltp -lpthread
 
+ifeq ($(RANLIB),)
+RANLIB = ranlib
+endif
+
 SRCS=$(wildcard *.c)
 TARGETS= asapi_01 asapi_02 asapi_03 asapi_04 asapi_05 asapi_06 asapi_07 \
 	getaddrinfo_01 in6_01 in6_02
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to