aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD G Turner2014-04-30 01:16:42 +0100
committerD G Turner2014-04-30 01:16:42 +0100
commit2779e6825c266f271cba0da9257dadb5061e963e (patch)
tree9605416b5eab6d0cf1b6324ea19e9697daf39640
parent82a502ea4c11ffdb0aa4e1b3ab6b6445b4e5bed8 (diff)
downloadscummvm-rg350-2779e6825c266f271cba0da9257dadb5061e963e.tar.gz
scummvm-rg350-2779e6825c266f271cba0da9257dadb5061e963e.tar.bz2
scummvm-rg350-2779e6825c266f271cba0da9257dadb5061e963e.zip
PS2: Fix hardcoded library settings to allow building against old SDK.
The autodetection should be fixed or modified to remove these hardcoded library enables. For now, we add another minor HACK to disable the troublesome Tremor Ogg Vorbis enable on older SDK, which should fix the buildbot builds.
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index f0c01cea42..4e4e9d1456 100755
--- a/configure
+++ b/configure
@@ -2710,7 +2710,10 @@ if test -n "$_host"; then
# This trick doesn't work for tremor right now, as the PS2 port the resulting library
# libtremor, while our code later on expects it to be called libvorbisidec.
# TODO: Enable tremor, e.g. by adding -ltremor or by renaming the lib.
- _tremor=yes
+ # Disable this for older SDK as this breaks the build otherwise...
+ if test -z "$PS2SDK_OLD"; then
+ _tremor=yes
+ fi
_mad=yes
_zlib=yes
# HACK to fix compilation of C source files for now.