[CRIU] [PATCH] tests: add libaio to LDLIBS

Andrew Vagin avagin at openvz.org
Tue Dec 30 07:01:27 PST 2014


Reported-by: Mr Travis
Signed-off-by: Andrew Vagin <avagin at openvz.org>
---
 scripts/travis-ci.sh           | 1 +
 test/zdtm/live/static/Makefile | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/travis-ci.sh b/scripts/travis-ci.sh
index 1729698..52de2ae 100755
--- a/scripts/travis-ci.sh
+++ b/scripts/travis-ci.sh
@@ -64,6 +64,7 @@ else
   fi
 fi
 
+export LIBRARY_PATH=/usr/lib/${ARCH}-linux-gnu/
 echo "Running tests"
 echo "Environment: $(uname -a)"
 
diff --git a/test/zdtm/live/static/Makefile b/test/zdtm/live/static/Makefile
index ebebb9d..a30725b 100644
--- a/test/zdtm/live/static/Makefile
+++ b/test/zdtm/live/static/Makefile
@@ -273,7 +273,7 @@ wait_stop:
 
 $(TST):	$(LIB)
 
-aio00:			override LDFLAGS += -laio
+aio00:			override LDLIBS += -laio
 futex.o:		override CFLAGS += -pthread
 futex:			override LDFLAGS += -pthread
 futex-rl.o:		override CFLAGS += -pthread
-- 
1.9.1



More information about the CRIU mailing list