mirror of
https://github.com/mpv-player/mpv
synced 2025-01-01 04:36:24 +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"
|
||||
fi
|
||||
_inputmodules="libdvdcss $_inputmodules"
|
||||
_largefiles=yes
|
||||
else
|
||||
_noinputmodules="libdvdcss $_noinputmodules"
|
||||
fi
|
||||
@ -7191,7 +7192,7 @@ fi
|
||||
# 64 bit file offsets?
|
||||
if test "$_largefiles" = yes || freebsd ; then
|
||||
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)
|
||||
CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user