Open runlevel5 opened 1 year ago
I was actually just about to open a similar issue. Currently, on gentoo (with normal glibc), there exists a bug where compilation fails because of a zlib OF
macro (https://bugs.gentoo.org/show_bug.cgi?id=383179). This prevents the zlib library from building, and as a result also prevents Q2RTX from building. If the system library had been used, the gentoo maintainers' fix would have already been used to let the library build, and Q2RTX could just use that.
(by the way, the fix for gentoo systems compiling zlib is to specify -DOF\(x\)=x
at the command line.)
There also used to exist a bug where the Q2RTX-provided SDL2 did not allow proper linking with wlroots-based display servers.
If the core team is okay with this feature request, I could provide patches
I could tell that Q2RTX has a list of bundled external dependencies residing in
./extern
. Most of them are packaged and support by Ubuntu and Fedora. I would like to propose to addUSE_SYSTEM_<LIB_NAME>
flags in CMakeList to toggle optional compilation against the system libs.