linuxOS_AP06/buildroot/package/libdrm/0001-tests-meson.build-disable-nouveau-tests-for-static-b.patch
2025-06-03 12:28:32 +08:00

31 lines
742 B
Diff

From 72eb381f0ed6733f18b200ff57723a2611baae7f Mon Sep 17 00:00:00 2001
From: Peter Seiderer <ps.report@gmx.net>
Date: Mon, 25 Nov 2019 15:59:15 +0100
Subject: [PATCH 1/4] tests/meson.build: disable nouveau tests for static build
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
tests/meson.build | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/meson.build b/tests/meson.build
index ac9e66b..ece003b 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -40,8 +40,11 @@ endif
if with_etnaviv
subdir('etnaviv')
endif
+lib_type = get_option('default_library')
if with_nouveau
- subdir('nouveau')
+ if lib_type != 'static'
+ subdir('nouveau')
+ endif
endif
drmsl = executable(
--
2.20.1