X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-util.git;a=blobdiff_plain;f=cross-compile%2Fandroid%2Fsigrok-cross-android;h=6dbda3b757f5ed6a263764aa43b5e559f0d1122d;hp=0dc8aa0e789cdd8fea2cdd2d9c3140a998264f32;hb=f0e760bb48f29a3a3e839a0b85882bbe622943b8;hpb=87ea3974677d08ade8791e04ee8c9d0d1f12d22f diff --git a/cross-compile/android/sigrok-cross-android b/cross-compile/android/sigrok-cross-android index 0dc8aa0..6dbda3b 100755 --- a/cross-compile/android/sigrok-cross-android +++ b/cross-compile/android/sigrok-cross-android @@ -124,15 +124,15 @@ make make install cd .. -## # TODO: Not all build-dependencies build, yet. ## # glib -## wget ftp://ftp.gnome.org/pub/gnome/sources/glib/2.34/glib-$VER_GLIB.tar.xz -## tar xfJ glib-$VER_GLIB.tar.xz -## cd glib-$VER_GLIB -## ./configure $C -## make -## make install -## cd .. +wget https://github.com/djdeath/glib/archive/android.zip +unzip android.zip +cd glib-android +./autogen.sh +LDFLAGS=-L$PREFIX/lib CPPFLAGS=-I$PREFIX/include glib_cv_stack_grows=no glib_cv_uscore=no ac_cv_func_posix_getpwuid_r=no ac_cv_func_posix_getgrgid_r=no ./configure $C --disable-modular-tests +make +make install +cd .. # libzip wget http://www.nih.at/libzip/libzip-$VER_LIBZIP.tar.gz