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
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