Skip to content

Commit

Permalink
Also try loading the .6 version of libX11.
Browse files Browse the repository at this point in the history
  • Loading branch information
Apprentice-Alchemist committed Jun 8, 2022
1 parent 60d8589 commit 6e8316a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Backends/System/Linux/Sources/kinc/backend/x11/system.c.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ bool kinc_x11_init() {
// only error for further libs
{
x11_ctx.libs.X11 = dlopen("libX11.so", RTLD_LAZY);
if (x11_ctx.libs.X11 == NULL) {
x11_ctx.libs.X11 = dlopen("libX11.so.6", RTLD_LAZY);
}
if (x11_ctx.libs.X11 == NULL) {
return false;
}
Expand Down

0 comments on commit 6e8316a

Please sign in to comment.