sigrok-cross-android: Build libsigrok
authorMarcus Comstedt <marcus@mc.pp.se>
Thu, 15 Aug 2013 22:12:12 +0000 (00:12 +0200)
committerMarcus Comstedt <marcus@mc.pp.se>
Thu, 15 Aug 2013 22:12:12 +0000 (00:12 +0200)
cross-compile/android/sigrok-cross-android

index 6dbda3b757f5ed6a263764aa43b5e559f0d1122d..e9692598c7345b7721d3a5a31b2f7cc290ce3885 100755 (executable)
@@ -168,3 +168,11 @@ make
 make install
 cd ..
 
+# libsigrok
+git clone git://sigrok.org/libsigrok
+cd libsigrok
+./autogen.sh
+LDFLAGS=-L$PREFIX/lib CPPFLAGS="-I$PREFIX/include -I$PREFIX/lib/libzip/include" PKG_CONFIG_LIBDIR=$PREFIX/lib/pkgconfig ./configure $C --disable-alsa --disable-link-mso19 --disable-kecheng-kc-330b
+make
+make install
+cd ..