diff options
author | Ross Burton <ross@burtonini.com> | 2021-04-09 16:00:14 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-04-30 14:37:25 +0100 |
commit | efcded972778043de12eb0b93f1789835c339d28 (patch) | |
tree | e975cb7f0e3cd866e7c4f636c59b9e548af96f81 /meta/recipes-graphics | |
parent | 4c15652bbddeb7782ca099dc31a0c09da9c891e1 (diff) | |
download | poky-efcded972778043de12eb0b93f1789835c339d28.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: 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>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/glslang/glslang/0001-generate-glslang-pkg-config.patch | 22 |
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} |