]> sigrok.org Git - sigrok-util.git/commitdiff
sigrok-cross-android: Enable the Python struct module.
authorUwe Hermann <redacted>
Tue, 23 May 2017 22:00:39 +0000 (00:00 +0200)
committerUwe Hermann <redacted>
Tue, 23 May 2017 22:00:39 +0000 (00:00 +0200)
This fixes bug #751.

cross-compile/android/sigrok-cross-android

index 682c3ba544a8c66849b3de21842b4f1a76020ab5..ffd61d32f90c1b0d6943dfef04dc5b821af0f699 100755 (executable)
@@ -227,6 +227,7 @@ ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no ac_cv_func_pipe2=no ac_cv_func_fd
 sed -i "s/^#zlib/zlib/g" Modules/Setup
 sed -i "s/^#math/math/g" Modules/Setup
 sed -i "s/^#time/time/g" Modules/Setup
 sed -i "s/^#zlib/zlib/g" Modules/Setup
 sed -i "s/^#math/math/g" Modules/Setup
 sed -i "s/^#time/time/g" Modules/Setup
+sed -i "s/^#_struct/_struct/g" Modules/Setup
 make PYTHON_FOR_BUILD='_PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) ./hostpython' install $V
 cd ..
 
 make PYTHON_FOR_BUILD='_PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) ./hostpython' install $V
 cd ..