Pass _FILE_OFFSET_BITS=64 to Linux builds to hopefully fix recovery with large MXF...
authorCarl Hetherington <cth@carlh.net>
Wed, 3 Jul 2013 12:25:01 +0000 (13:25 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 3 Jul 2013 12:25:01 +0000 (13:25 +0100)
wscript

diff --git a/wscript b/wscript
index dff00caef06c7ba33f8b3a73b11792c4311ed848..76f6deb2b55717b0d74d3e74cad1b5afeed5dd13 100644 (file)
--- a/wscript
+++ b/wscript
@@ -49,6 +49,7 @@ def configure(conf):
         conf.env.append_value('CXXFLAGS', '-DDVDOMATIC_POSIX')
         conf.env.append_value('CXXFLAGS', '-DPOSIX_LOCALE_PREFIX="%s/share/locale"' % conf.env['PREFIX'])
         conf.env.append_value('CXXFLAGS', '-DPOSIX_ICON_PREFIX="%s/share/dvdomatic"' % conf.env['PREFIX'])
+        conf.env.append_value('CXXFLAGS', '-D_FILE_OFFSET_BITS=64')
         boost_lib_suffix = ''
         boost_thread = 'boost_thread'
         conf.env.append_value('LINKFLAGS', '-pthread')