summarylogtreecommitdiffstats
path: root/0001-enable-linux-unstable-deb-target.patch
blob: 4ae23e0ca07564cf30058c0b427bdddc5967250d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From 22fe045deac0551720d7292022f443b22703f336 Mon Sep 17 00:00:00 2001
From: Yaowei Zhou <yaowei.zhou@intel.com>
Date: Thu, 20 Apr 2023 14:37:26 +0800
Subject: [PATCH] Enable "linux:unstable_deb" build target when using the chromium minigbm

Bug: N/A
Change-Id: Ic37059be0f0719895acdba756292aed71820feba
---

diff --git a/third_party/minigbm/BUILD.gn b/third_party/minigbm/BUILD.gn
index 739e278..50bf5d8 100644
--- a/third_party/minigbm/BUILD.gn
+++ b/third_party/minigbm/BUILD.gn
@@ -58,7 +58,7 @@
     }
   }
 
-  shared_library("minigbm") {
+  static_library("minigbm") {
     sources = [
       "src/amdgpu.c",
       "src/dri.c",
@@ -89,8 +89,8 @@
     }
 
     # Clients need this to pick up the shared library correctly.
-    all_dependent_configs =
-        [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
+    #all_dependent_configs =
+    #    [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
   }
 
   # This target is used for Chromecast build, which expects the resulting lib