summaryrefslogtreecommitdiffstats
path: root/build/depends.py
diff options
context:
space:
mode:
Diffstat (limited to 'build/depends.py')
-rw-r--r--build/depends.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/build/depends.py b/build/depends.py
index bf7d5b95e9..3e86495fe3 100644
--- a/build/depends.py
+++ b/build/depends.py
@@ -557,7 +557,7 @@ class SoundTouch(Dependence):
if build.platform_is_linux or build.platform_is_bsd:
# Try using system lib
- if conf.CheckForPKG('soundtouch', '2.0.0'):
+ if conf.CheckForPKG('soundtouch', '2.1.1'):
# System Lib found
if not conf.CheckLib(['SoundTouch']):
raise Exception(
@@ -566,7 +566,9 @@ class SoundTouch(Dependence):
self.INTERNAL_LINK = False
if self.INTERNAL_LINK:
- env.Append(CPPPATH=['#' + self.SOUNDTOUCH_INTERNAL_PATH])
+ # The system includes all start with <soundtouch/...>, i.e.
+ # we must omit the "soundtouch" path component here!
+ env.Append(CPPPATH=['#/lib'])
# Prevents circular import.
from .features import Optimize