allow x11 backend to be disabled (on by default) (i doubt people will do this)
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
IoI_xD 2026-03-31 13:54:12 -07:00
commit d4f6ca14e2
5 changed files with 31 additions and 5 deletions

View file

@ -8,13 +8,11 @@ if (param_get("classic-theme")) {
if (grep(/^x11$/, @backends)) {
add_cflags("-DUSE_X11");
new_object("src/backend/x11.c");
#add_libs("-lX11");
$gl_libs = "-lGL -lGLU";
if (param_get("xrender")) {
add_cflags("-DUSE_XRENDER");
#add_libs("-lXrender");
}
}