[CRIU] [PATCH 1/3] lib: add rpc.pb-c.o to Makefile

Ruslan Kuprieiev kupruser at gmail.com
Thu Nov 21 17:20:35 PST 2013


We need this to interact with service through RPC.

Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>
---
 lib/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/Makefile b/lib/Makefile
index b008d9c..b3d4d39 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -1,7 +1,8 @@
 lib-so			+= libcriu
 obj-y			+= criu.o
+obj-ext-src-y		+= protobuf/rpc.pb-c.o
 
-includes		+= -iquote $(obj)/../arch/$(ARCH)/include -iquote $(obj)/../include -iquote $(obj)/..
+includes		+= -iquote $(obj)/../arch/$(ARCH)/include -iquote $(obj)/../include -iquote $(obj)/.. -iquote $(obj)/../protobuf
 cflags-y		+= $(includes) -fPIC -Wa,--noexecstack -fno-stack-protector
 cflags-so		+= -rdynamic
 
-- 
1.8.1.2



More information about the CRIU mailing list