summaryrefslogtreecommitdiff
path: root/media-libs/libplacebo/files/libplacebo-5.229.1-shared-glslang.patch
blob: 84c83031e0311f6393af028ab83b5ade3c5b9bd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
OSDependent and OGLCompiler are already included in the shared libglslang,
and glslang-1.3.231 normally does not install these with shared builds.
https://code.videolan.org/videolan/libplacebo/-/issues/240
--- a/src/glsl/meson.build
+++ b/src/glsl/meson.build
@@ -21,5 +21,5 @@
     cxx.find_library('MachineIndependent',  required: false),
-    cxx.find_library('OSDependent',         required: glslang_req),
+    cxx.find_library('OSDependent',         required: false),
     cxx.find_library('HLSL',                required: glslang_req),
-    cxx.find_library('OGLCompiler',         required: glslang_req),
+    cxx.find_library('OGLCompiler',         required: false),
     cxx.find_library('GenericCodeGen',      required: false),