mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sysroot.eclass: we can't use wrappers if the kernel differs
So for now, just check if the target is not linux, and then disable them Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
@@ -131,6 +131,9 @@ sysroot_make_run_prefixed() {
|
||||
#!/bin/sh
|
||||
SANDBOX_ON=0 LD_PRELOAD= WINEPATH="\${WINEPATH}\${WINEPATH+;};${winepath//\//\\}" exec wine "\${@}"
|
||||
EOF
|
||||
elif [[ ${CHOST} != *-linux-* ]]; then
|
||||
einfo "Target is not Linux. Continuing without ${SCRIPT##*/} wrapper."
|
||||
return 2
|
||||
elif ! QEMU_ARCH=$(qemu_arch_if_needed); then
|
||||
# glibc: ld.so is a symlink, ldd is a binary.
|
||||
# musl: ld.so doesn't exist, ldd is a symlink.
|
||||
|
||||
Reference in New Issue
Block a user