aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/depends/README.md4
-rw-r--r--tools/depends/configure.ac4
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/depends/README.md b/tools/depends/README.md
index 2e5db17886..64fb3f0aa1 100644
--- a/tools/depends/README.md
+++ b/tools/depends/README.md
@@ -48,9 +48,9 @@ Paths below are examples. If you want to build Kodi, follow our **[build guides]
### Linux
**ARM (codesourcery/lenaro/etc)**
-`./configure --with-toolchain=/opt/toolchains/my-example-toolchain/ --prefix=/opt/xbmc-deps --host=arm-linux-gnueabi`
+`./configure --with-toolchain=/opt/toolchains/my-example-toolchain/ --prefix=/opt/xbmc-deps --host=arm-linux-gnueabi --with-rendersystem=gles`
**Native**
-`./configure --with-toolchain=/usr --prefix=/opt/xbmc-deps --host=x86_64-linux-gnu`
+`./configure --with-toolchain=/usr --prefix=/opt/xbmc-deps --host=x86_64-linux-gnu --with-rendersystem=gl`
Cross compiling is a PITA.
diff --git a/tools/depends/configure.ac b/tools/depends/configure.ac
index 0a741a187c..341fe395de 100644
--- a/tools/depends/configure.ac
+++ b/tools/depends/configure.ac
@@ -504,9 +504,9 @@ if test -z $use_tarballs; then
use_tarballs=$prefix/xbmc-tarballs
fi
-if test -n "$app_rendersystem"; then
+if test "$platform_os" == "linux"; then
if test "$app_rendersystem" != "gl" && test "$app_rendersystem" != "gles"; then
- AC_MSG_ERROR(Rendersystem must be gl or gles)
+ AC_MSG_ERROR(Rendersystem is required for linux - must be gl or gles)
fi
fi