Files
geminux/patches/xlibre/0002-glx-strip-sysroot-from-dri-driver-path.patch
T

25 lines
890 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Geminux Contributors <dev@geminux.local>
Date: Sun, 22 Nov 2026 13:40:00 +0200
Subject: [PATCH] glx: do not embed cross-compile sysroot in DRI_DRIVER_PATH
---
include/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/meson.build b/include/meson.build
index 111111111..222222222 100644
--- a/include/meson.build
+++ b/include/meson.build
@@ -241,7 +241,7 @@ conf_data.set('DRI2', build_dri2 ? '1' : false)
conf_data.set('DRI3', build_dri3 ? '1' : false)
if build_glx
if build_glx_dri
- conf_data.set_quoted('DRI_DRIVER_PATH', dri_dep.get_variable(pkgconfig : 'dridriverdir'))
+ conf_data.set_quoted('DRI_DRIVER_PATH', join_paths(get_option('prefix'), get_option('libdir'), 'dri'))
conf_data.set('BUILD_GLX_DRI', 1)
endif
endif
--
2.55.0