Manual build deps

From CRIU
Revision as of 13:19, 12 July 2017 by Xemul (talk | contribs) (Created page with "Building natively, but specifying built dependencies manually <pre> cd deps rsync -a --exclude=.git --exclude=deps .. criu-`uname -m` cd criu-`uname -m` make \ USERCFL...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, 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 ../..