File: glslang.pc-Add-missing-libraries.patch

package info (click to toggle)
glslang 16.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 51,720 kB
  • sloc: cpp: 92,305; yacc: 4,320; sh: 603; python: 305; ansic: 94; javascript: 74; makefile: 17
file content (26 lines) | stat: -rw-r--r-- 902 bytes parent folder | download | duplicates (3)
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
From: Simon McVittie <smcv@collabora.com>
Date: Mon, 18 Jan 2021 09:57:55 +0000
Subject: glslang.pc: Add missing libraries

-lglslang depends on -lMachineIndependent, and -lOGLCompiler depends on
-lGenericCodeGen.

v2 OGLCompiler was removed, so remove GenericCodeGen

Signed-off-by: Simon McVittie <smcv@collabora.com>

Philippe SWARTVAGHER <phil.swart@gmx.fr>, 2024-05-26: GenericCodeGen seems to be still required.
---
 glslang/glslang.pc.cmake.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/glslang/glslang.pc.cmake.in
+++ b/glslang/glslang.pc.cmake.in
@@ -7,5 +7,5 @@
     Description: OpenGL and OpenGL ES shader front end and validator
     Requires:
     Version: @VERSION@
-    Libs: -L${libdir} -lglslang -lOSDependent
+    Libs: -L${libdir} -lglslang -lMachineIndependent -lGenericCodeGen -lOSDependent -lpthread
     Cflags: -I${includedir}
\ No newline at end of file