Debian 下交叉编译liboil

1. 先交叉编译glib:http://www.cnblogs.com/openusb/p/3434212.html

2.配置,要加入glib的lib路径:

./configure --prefix=/opt/liboil --host=arm-linux LDFLAGS=-L/opt/glib-2.22.5/lib
3.make & make install

posted @ 2013-11-23 11:11  OpenUSB  阅读(415)  评论(0编辑  收藏  举报