mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
toolchain: always use cross compile and exe_wrapper with meson
This needs to be done even on target=host due to libraries of the host being newer than the target. This fixes tests where target glibc is different from host glibc and meson tries to check existance of 2 functions which are in GLIBC_2.34 in this example. It is also correct functionality, as we will never be building for the host the compile is on. `Program stderr: /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-10.0-devel/build/glib-37e5dfd3a2ced10c395b38702ae15e0e128e457b/.x86_64-libreelec-linux-gnu/meson-private/tmpg908xy4s/output.exe: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /var/media/DATA/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-10.0-devel/build/glib-37e5dfd3a2ced10c395b38702ae15e0e128e457b/.x86_64-libreelec-linux-gnu/meson-private/tmpg908xy4s/output.exe)`
This commit is contained in:
parent
a5988425a1
commit
ad84c1e24b
@ -524,6 +524,7 @@ $(python3 -c "import os; print('cpp_args = {}'.format([x for x in os.getenv('TAR
|
||||
$(python3 -c "import os; print('cpp_link_args = {}'.format([x for x in os.getenv('TARGET_LDFLAGS').split()]))")
|
||||
|
||||
[properties]
|
||||
needs_exe_wrapper = true
|
||||
root = '$SYSROOT_PREFIX/usr'
|
||||
${!properties}
|
||||
EOF
|
||||
|
Loading…
x
Reference in New Issue
Block a user