summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2021-04-09 16:00:14 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-04-18 11:37:25 +0100
commitda24dbf7b9d1a254141fb72d0ac72a48942bca43 (patch)
treefd08415476c88262f4c0e5576fe1361ae0d84d67 /meta/recipes-graphics
parentbcb4246fa6582ce9b9560613f3e23d592fdc3c26 (diff)
downloadpoky-da24dbf7b9d1a254141fb72d0ac72a48942bca43.tar.gz
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: 14bfe5f15f78c1bc049868633fd6fa19feb5a70c) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/glslang/glslang/0001-generate-glslang-pkg-config.patch22
1 files changed, 11 insertions, 11 deletions
diff --git a/meta/recipes-graphics/glslang/glslang/0001-generate-glslang-pkg-config.patch b/meta/recipes-graphics/glslang/glslang/0001-generate-glslang-pkg-config.patch
index ef092f17a1..cddd330971 100644
--- a/meta/recipes-graphics/glslang/glslang/0001-generate-glslang-pkg-config.patch
+++ b/meta/recipes-graphics/glslang/glslang/0001-generate-glslang-pkg-config.patch
@@ -34,14 +34,14 @@ index 00000000..64b6882d
34--- /dev/null 34--- /dev/null
35+++ b/glslang/glslang.pc.cmake.in 35+++ b/glslang/glslang.pc.cmake.in
36@@ -0,0 +1,11 @@ 36@@ -0,0 +1,11 @@
37+ prefix=@CMAKE_INSTALL_PREFIX@ 37+prefix=@CMAKE_INSTALL_PREFIX@
38+ exec_prefix=@CMAKE_INSTALL_PREFIX@ 38+exec_prefix=@CMAKE_INSTALL_PREFIX@
39+ libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@ 39+libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
40+ includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ 40+includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
41+ 41+
42+ Name: @PROJECT_NAME@ 42+Name: @PROJECT_NAME@
43+ Description: OpenGL and OpenGL ES shader front end and validator 43+Description: OpenGL and OpenGL ES shader front end and validator
44+ Requires: 44+Requires:
45+ Version: @GLSLANG_VERSION@ 45+Version: @GLSLANG_VERSION@
46+ Libs: -L${libdir} -lglslang -lOSDependent -lHLSL -lOGLCompiler -lSPVRemapper 46+Libs: -L${libdir} -lglslang -lOSDependent -lHLSL -lOGLCompiler -lSPVRemapper
47+ Cflags: -I${includedir} 47+Cflags: -I${includedir}