[CRIU] [PATCH 2/2] compel/test/fdspy: fix linking

Kir Kolyshkin kir at openvz.org
Wed Apr 19 23:03:45 PDT 2017


1. Commit 8b99809 ("compel: make plugins .a archives") changed the
   suffix of compel plugins, so this test no longer compiles.

2. "compel plugins" can print auxiliary plugins now, let's use it.

Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
 compel/test/fdspy/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compel/test/fdspy/Makefile b/compel/test/fdspy/Makefile
index 4fed791..027c373 100644
--- a/compel/test/fdspy/Makefile
+++ b/compel/test/fdspy/Makefile
@@ -22,7 +22,7 @@ parasite.h: parasite.po
 	$(COMPEL) hgen -o $@ -f $<
 
 parasite.po: parasite.o
-	ld $(shell $(COMPEL) ldflags) -o $@ $^ $(shell $(COMPEL) plugins) ../../plugins/fds.built-in.o
+	ld $(shell $(COMPEL) ldflags) -o $@ $^ $(shell $(COMPEL) plugins fds)
 
 parasite.o: parasite.c
 	$(CC) $(CFLAGS) -c $(shell $(COMPEL) cflags) -o $@ $^
-- 
2.9.3



More information about the CRIU mailing list