Manual build deps

From CRIU
Jump to navigation Jump to search

Building natively, but specifying built dependencies manually

 cd deps
 rsync -a --exclude=.git --exclude=deps .. criu-`uname -m`
 cd criu-`uname -m`
 make \
   USERCFLAGS="-I`pwd`/../`uname -m`-linux-gnu/include -L`pwd`/../`uname -m`-linux-gnu/lib" \
   PATH="`pwd`/../`uname -m`-linux-gnu/bin:$PATH"
 sudo LD_LIBRARY_PATH=`pwd`/../`uname -m`-linux-gnu/lib ./criu check
 cd ../..