1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-02 13:29:49 +00:00

glslang: strip whitespace in pkgconfig file

Whilst pkg-config is fine with .pc files containing leading whitespace,
pkgconf is less forgiving.

(From OE-Core rev: bece9af0991776926004fc12c4d6ec542bc9957c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 14bfe5f15f78c1bc049868633fd6fa19feb5a70c)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2021-04-09 16:00:14 +01:00
committed by Richard Purdie
parent 4c15652bbd
commit efcded9727
@@ -34,14 +34,14 @@ index 00000000..64b6882d
--- /dev/null --- /dev/null
+++ b/glslang/glslang.pc.cmake.in +++ b/glslang/glslang.pc.cmake.in
@@ -0,0 +1,11 @@ @@ -0,0 +1,11 @@
+ prefix=@CMAKE_INSTALL_PREFIX@ +prefix=@CMAKE_INSTALL_PREFIX@
+ exec_prefix=@CMAKE_INSTALL_PREFIX@ +exec_prefix=@CMAKE_INSTALL_PREFIX@
+ libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@ +libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
+ includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ +includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
+ +
+ Name: @PROJECT_NAME@ +Name: @PROJECT_NAME@
+ Description: OpenGL and OpenGL ES shader front end and validator +Description: OpenGL and OpenGL ES shader front end and validator
+ Requires: +Requires:
+ Version: @GLSLANG_VERSION@ +Version: @GLSLANG_VERSION@
+ Libs: -L${libdir} -lglslang -lOSDependent -lHLSL -lOGLCompiler -lSPVRemapper +Libs: -L${libdir} -lglslang -lOSDependent -lHLSL -lOGLCompiler -lSPVRemapper
+ Cflags: -I${includedir} +Cflags: -I${includedir}