summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorkonablend <[email protected]>2009-03-03 05:14:54 +0000
committerkonablend <[email protected]>2009-03-03 05:14:54 +0000
commitf57d755e052a91f4cd61bacc0d75998bafbab3b6 (patch)
tree684fbcc9d72dda8f4963aae5ed1adf4985530fe8 /libhb
parent55afb374694267dd7209afd2ec279e8f51154bcf (diff)
BuildSystem:
- fixed ppc bug: scanning DVD does not pick up audio tracks - libdvdread headers require WORD_BIGENDIAN to be defined on BIGENDIAN systems - solution is to defined WORD_BIGENDIAN for libhb on ppc/ppc64 platforms git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2206 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r--libhb/module.defs5
1 files changed, 5 insertions, 0 deletions
diff --git a/libhb/module.defs b/libhb/module.defs
index 4015ae1dc..e36d1a883 100644
--- a/libhb/module.defs
+++ b/libhb/module.defs
@@ -45,3 +45,8 @@ else ifeq ($(BUILD.system),linux)
else
LIBHB.platform.D = SYS_UNKNOWN
endif
+
+## required for <libdvdread/*.h>
+ifneq (,$(filter $(BUILD.arch),ppc ppc64))
+ LIBHB.GCC.D += WORDS_BIGENDIAN
+endif