Skip to content

Commit cf47779

Browse files
authored
Skip ldd check on ARM Linux (#625)
While the commonly used glibc hack-patch enables kodi on ARM Linux to use the ChromeOS widevine library ldd will still correctly fail with an error message because of the missing GLIBC_ABI_DT_RELR dependency. This makes the test quite useless on ARM, results in repeated logspam and the logged error may also be misleading to users. Signed-off-by: Matthias Reichl <[email protected]>
1 parent f72b41c commit cf47779

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/inputstreamhelper/widevine/widevine.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ def missing_widevine_libs():
126126
if system_os() != 'Linux': # this should only be needed for linux
127127
return None
128128

129+
if arch() in {'arm', 'arm64'}: # ldd will fail with missing GLIBC_ABI_DT_RELR error and is useless
130+
return None
131+
129132
if cmd_exists('ldd'):
130133
widevinecdm = widevinecdm_path()
131134
if not os.access(widevinecdm, os.X_OK):

0 commit comments

Comments
 (0)