Open LinoBigatti opened 1 year ago
I think we should auto-detect this when we provoding hooks. I'll look into this next week. cc @dklassic
We have the same issue when building a Tauri application in Yocto. Do you have any updates on this?
@teonaseverin Did you manage to make Tauri run under Yocto?
Is your feature request related to a problem? Please describe. Users building tauri apps for personal use in Gentoo Linux (and possibly other source-based distros) have the option to build gtk+ without Wayland support, as to not pull in Wayland as a dependency when only using X11. However, these people will find themselves with a linking error:
Users with a pure Wayland system might have this issue too, but in reverse.
Describe the solution you'd like A feature flag (like
--features wayland
and--features x11
) could be used to turn on/off the code paths related to these libraries. This would fix the linking errors. These features should probably come enabled by default, as this is the current behaviour.Describe alternatives you've considered Gentoo users need to emerge gtk+ with the
wayland
use flag enabled. This works, but pulls in unnecesary dependencies into the system that will never be used. If it is decided that users should make this change themselves, it should be reflected in the docs.Would you want to assign yourself to implement this feature?