Hello all
I have an input device with more than 80 inputs, the limit of the normal kernel, so to use it i need a kernel with a custom patch, and the SDL2 library has to be recompiled with a few patches too.
Now, i have an overlay that creates a package called SDL2_patched with the required patches. Now i want other packages like Steam, and Lutris, to use the libraries in that package (for their runtime environment, for example), instead of the original SDL2 package, but I don’t know how to make an overlay that makes that.
I have tried making a system-wide overlay to completely replace the SDL2 library, but it forces a recompilation of a lot of packages (chromium included) which makes it incredibly slow, and I would rather avoid that.