This is a bit of a crappy solution right now, realistically we need to build clean libraries in a clean environment, without any explicitly wrong dependencies.
One idea would be to build the libraries in a multilib OS image (we can't afford to mix and vendor multiarch, see LSI for why that always goes wrong), and deploy those.
As much as it pains me, it might be worth using Docker for this. Or hell even Solus/solbuild and some custom ypkg files.
This is a bit of a crappy solution right now, realistically we need to build clean libraries in a clean environment, without any explicitly wrong dependencies.
One idea would be to build the libraries in a multilib OS image (we can't afford to mix and vendor multiarch, see
LSIfor why that always goes wrong), and deploy those.As much as it pains me, it might be worth using Docker for this. Or hell even Solus/solbuild and some custom ypkg files.