diff options
author | Chris Browet <koying@semperpax.com> | 2013-10-20 08:00:08 -0700 |
---|---|---|
committer | Chris Browet <koying@semperpax.com> | 2013-10-20 08:00:08 -0700 |
commit | d6fea6a847eea1adbe659790fb71c91c1544c1ae (patch) | |
tree | eab8bbd4023ad2a783dc51f4b34c5ef6c226302a /configure.in | |
parent | d3c4148fc99d57350ad62be276af721d85c9a9ab (diff) | |
parent | 67f00a444a5b035700b3760539579d3977eea364 (diff) |
Merge pull request #3164 from koying/fixdroiddvdiso
FIX: [droid] fix dvd playing on > 2Gb iso
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/configure.in b/configure.in index 90f43fb8dd..9c05933e03 100644 --- a/configure.in +++ b/configure.in @@ -729,6 +729,7 @@ if test "$target_platform" = "target_android" ; then USE_ANDROID=1 webserver_checkdepends=yes CFLAGS="$CFLAGS -Wno-psabi" + DROID_DVDLIB_SEEK64="-D_FILE_OFFSET_BITS=64 -D_OFF_T_DEFINED_ -Doff_t=off64_t -Dlseek=lseek64" CXXFLAGS="$CXXFLAGS -Wno-psabi" AC_DEFINE(HAS_EGLGLES, [1], [Define if supporting EGL based GLES Framebuffer]) fi @@ -2814,7 +2815,7 @@ XB_CONFIG_MODULE([lib/libdvd/libdvdcss], [ ./configure \ CC="$CC" \ CXX="$CXX" \ - CFLAGS="$CFLAGS" \ + CFLAGS="$CFLAGS $DROID_DVDLIB_SEEK64" \ --prefix="${prefix}" --includedir="${includedir}" --libdir="${libdir}" --datadir="${datadir}" \ --host=$host_alias \ --build=$build_alias \ @@ -2826,7 +2827,7 @@ XB_CONFIG_MODULE([lib/libdvd/libdvdcss], [ XB_CONFIG_MODULE([lib/libdvd/libdvdread], [ ./configure2 \ - --extra-cflags="$CFLAGS $DVDREAD_CFLAGS -I`pwd`/../libdvdcss/src" \ + --extra-cflags="$CFLAGS $DVDREAD_CFLAGS -I`pwd`/../libdvdcss/src $DROID_DVDLIB_SEEK64" \ --prefix="${prefix}" --includedir="${includedir}" --libdir="${libdir}" --datadir="${datadir}" \ --host=$host_alias \ --build=$build_alias \ @@ -2844,7 +2845,7 @@ XB_CONFIG_MODULE([lib/libdvd/libdvdread], [ XB_CONFIG_MODULE([lib/libdvd/libdvdnav], [ ./configure2 \ - --extra-cflags="$CFLAGS $DVDREAD_CFLAGS -I`pwd`/../includes" \ + --extra-cflags="$CFLAGS $DVDREAD_CFLAGS -I`pwd`/../includes $DROID_DVDLIB_SEEK64" \ --extra-ldflags="-L`pwd`/../libdvdread/obj" \ --with-dvdread-config="`pwd`/../libdvdread/obj/dvdread-config" \ --prefix="${prefix}" --includedir="${includedir}" --libdir="${libdir}" --datadir="${datadir}" \ |