[oe-commits] Drew Moseley : glew: Additional fix for generation of glew.pc.
git at git.openembedded.org
git at git.openembedded.org
Fri Dec 5 18:01:33 UTC 2014
Module: openembedded-core.git
Branch: master
Commit: 9245cb4fe211da06283d53086bca3fcd5b2c8aef
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9245cb4fe211da06283d53086bca3fcd5b2c8aef
Author: Drew Moseley <drew_moseley at mentor.com>
Date: Wed Nov 26 19:49:54 2014 -0500
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 at .pc'
to the PKG_CONFIG_PATH environment variable
Package '@requireslib@', required by 'glew', not found
configure:16539: $? = 1
Signed-off-by: Drew Moseley <drew_moseley at mentor.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-graphics/glew/glew/fix-glew.pc-install.patch | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-graphics/glew/glew/fix-glew.pc-install.patch b/meta/recipes-graphics/glew/glew/fix-glew.pc-install.patch
index a20fbfc..70a99ae 100644
--- a/meta/recipes-graphics/glew/glew/fix-glew.pc-install.patch
+++ b/meta/recipes-graphics/glew/glew/fix-glew.pc-install.patch
@@ -39,7 +39,8 @@ Index: glew-1.11.0/glew.pc.in
-Version: @version@
-Cflags: -I${includedir} @cflags@
-Libs: -L${libdir} -l at libname@
+-Requires: @requireslib@
+Version: @VERSION@
+Cflags: -I${includedir} @CFLAGS@
+Libs: -L${libdir} -lGLEW
- Requires: @requireslib@
++Requires: glu
More information about the Openembedded-commits
mailing list