mirror of
https://git.yoctoproject.org/poky
synced 2026-04-14 08:02:30 +02:00
glew: Additional fix for generation of glew.pc.
Without this fix, building mesa-demos with the glew
PACKAGECONFIG will result in errors like the below
being logged in tmp/work/*/mesa-demos/*/build/config.log:
configure:16529: checking for GLEW
configure:16536: $PKG_CONFIG --exists --print-errors "glew >= 1.5.4"
Package @requireslib@ was not found in the pkg-config search path.
Perhaps you should add the directory containing `@requireslib@.pc'
to the PKG_CONFIG_PATH environment variable
Package '@requireslib@', required by 'glew', not found
configure:16539: $? = 1
(From OE-Core rev: 9245cb4fe211da06283d53086bca3fcd5b2c8aef)
Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
95fcc673e2
commit
ab4ed9c72c
@@ -39,7 +39,8 @@ Index: glew-1.11.0/glew.pc.in
|
||||
-Version: @version@
|
||||
-Cflags: -I${includedir} @cflags@
|
||||
-Libs: -L${libdir} -l@libname@
|
||||
-Requires: @requireslib@
|
||||
+Version: @VERSION@
|
||||
+Cflags: -I${includedir} @CFLAGS@
|
||||
+Libs: -L${libdir} -lGLEW
|
||||
Requires: @requireslib@
|
||||
+Requires: glu
|
||||
|
||||
Reference in New Issue
Block a user