mirror of
https://github.com/clearlinux/linux-steam-integration.git
synced 2026-08-22 07:38:11 +00:00
Revert "intercept: Allow disabling (build-time) the udev redirection"
This reverts commit c640f2f215.
Turns out this is due to a very weird situation where Arch has their
libudev.so.0 as an incompatible API which all current games expect to
be of libudev.so.1 ABI, and isn't something LSI should be fixing, the
distro should.
This commit is contained in:
@@ -90,13 +90,6 @@ if with_snap_support == true
|
||||
message('Enabling snapd support. Do NOT do this for distribution builds!')
|
||||
endif
|
||||
|
||||
with_udev_redirect = get_option('with-udev-redirect')
|
||||
if with_udev_redirect == true
|
||||
cdata.set('HAVE_UDEV_REDIRECT', '1')
|
||||
message('Enabling udev soname redirection. DO NOT DO THIS FOR ARCH LINUX!')
|
||||
message('The udev redirect should only be used when not using udev shim')
|
||||
endif
|
||||
|
||||
config_h = configure_file(
|
||||
configuration: cdata,
|
||||
output: 'config.h',
|
||||
|
||||
@@ -14,5 +14,3 @@ option('with-libressl-suffix', type: 'string', value: '-libressl',
|
||||
description: 'Suffix for shim LibreSSL library when using --with-libressl-mode=shim')
|
||||
|
||||
option('with-snap-support', type: 'boolean', description: 'Build LSI with explicit support for snapd', value: false)
|
||||
|
||||
option('with-udev-redirect', type: 'boolean', description: 'Enable libudev soname redirection. DO NOT USE WITH UDEV SHIM.')
|
||||
|
||||
@@ -273,9 +273,7 @@ static const char *vendor_transmute_source[] = {
|
||||
|
||||
"libbz2.so.1.0",
|
||||
|
||||
#ifdef HAVE_UDEV_REDIRECT
|
||||
"libudev.so.0",
|
||||
#endif
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -313,9 +311,7 @@ static const char *vendor_transmute_target[] = {
|
||||
|
||||
"libbz2.so.1.0.6",
|
||||
|
||||
#ifdef HAVE_UDEV_REDIRECT
|
||||
"libudev.so.1",
|
||||
#endif
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user