[Android] Build: fix medialibrary sqlite patch

Duncan McNamara git at videolan.org
Mon Dec 13 13:39:59 UTC 2021


vlc-android | branch: master | Duncan McNamara <dcn.mcnamara at gmail.com> | Thu Dec  9 15:49:39 2021 +0100| [a57b7f4925b7a1aab749c25042dfd333c6879e48] | committer: Nicolas Pomepuy

Build: fix medialibrary sqlite patch

> https://code.videolan.org/videolan/vlc-android/commit/a57b7f4925b7a1aab749c25042dfd333c6879e48
---

 buildsystem/compile-medialibrary.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/buildsystem/compile-medialibrary.sh b/buildsystem/compile-medialibrary.sh
index 5f93e8ae6..18eef5cff 100755
--- a/buildsystem/compile-medialibrary.sh
+++ b/buildsystem/compile-medialibrary.sh
@@ -60,7 +60,8 @@ if [ ! -d "${MEDIALIBRARY_MODULE_DIR}/${SQLITE_RELEASE}" ]; then
   tar -xozf ${SQLITE_RELEASE}.tar.gz
   rm -f ${SQLITE_RELEASE}.tar.gz
   cd ${SQLITE_RELEASE}
-  patch -p1 ${SRC_DIR}/buildsystem/sqlite/sqlite-no-shell.patch
+  patch -p1 < ${SRC_DIR}/buildsystem/patches/sqlite/sqlite-no-shell.patch
+  autoreconf -vif
 fi
 cd ${MEDIALIBRARY_MODULE_DIR}/${SQLITE_RELEASE}
 if [ ! -d "build-$ANDROID_ABI" ]; then



More information about the Android mailing list