diff options
author | wsnipex <wsnipex@a1.net> | 2022-01-26 17:39:40 +0100 |
---|---|---|
committer | wsnipex <wsnipex@a1.net> | 2022-01-26 17:42:53 +0100 |
commit | 2e335721fa7c77636e2a2ad2b6884f4fbd517900 (patch) | |
tree | 09f2c1982fd71fe80eb46f2c6fe65fed57944992 | |
parent | 22e424739448632d9db0ee80089aef72d95cfab1 (diff) |
[depends] --with-rendersystem is required on linux
-rw-r--r-- | tools/depends/README.md | 4 | ||||
-rw-r--r-- | tools/depends/configure.ac | 4 |
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 |