mirror of
https://github.com/mpv-player/mpv
synced 2025-01-16 22:37:28 +01:00
Turn on largefile support for libdvdcss as well.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22642 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9f0d6b7b8a
commit
6af0f7d023
3
configure
vendored
3
configure
vendored
@ -5270,6 +5270,7 @@ if test "$_libdvdcss_internal" = yes ; then
|
|||||||
_ld_extra="$_ld_extra -framework IOKit"
|
_ld_extra="$_ld_extra -framework IOKit"
|
||||||
fi
|
fi
|
||||||
_inputmodules="libdvdcss $_inputmodules"
|
_inputmodules="libdvdcss $_inputmodules"
|
||||||
|
_largefiles=yes
|
||||||
else
|
else
|
||||||
_noinputmodules="libdvdcss $_noinputmodules"
|
_noinputmodules="libdvdcss $_noinputmodules"
|
||||||
fi
|
fi
|
||||||
@ -7191,7 +7192,7 @@ fi
|
|||||||
# 64 bit file offsets?
|
# 64 bit file offsets?
|
||||||
if test "$_largefiles" = yes || freebsd ; then
|
if test "$_largefiles" = yes || freebsd ; then
|
||||||
CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
|
CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
|
||||||
if test "$_dvdread" = yes ; then
|
if test "$_dvdread" = yes || test "$_libdvdcss_internal" = yes ; then
|
||||||
# dvdread support requires this (for off64_t)
|
# dvdread support requires this (for off64_t)
|
||||||
CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE"
|
CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user