summaryrefslogtreecommitdiff
path: root/glu.pc.in
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2008-11-24 11:01:57 -0800
committerDan Nicholson <dbn.lists@gmail.com>2008-12-14 08:47:03 -0800
commit49fb287bf48c8aaa5716db001a8a76e72ddfc633 (patch)
tree3192248f4588d2281751926f66e3dbae12fd31a0 /glu.pc.in
parent6a3d24d0e1e0d4babb69a2f95da4bc6b79cd5ad4 (diff)
downloadglu-49fb287bf48c8aaa5716db001a8a76e72ddfc633.tar.gz
Add more package metadata to the pkg-config files
The pkg-config files have been filled in more thoroughly to allow users to use mesa more effectively. By adding metadata to Requires.private, Libs.private and Cflags, we can ensure that all the libraries and headers will be found in all situations. However, the full substitutions are only done when using the configure script. This also fixes the glu pkg-config file to account for using GL or OSMesa. Fixes bug 18161.
Diffstat (limited to 'glu.pc.in')
-rw-r--r--glu.pc.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/glu.pc.in b/glu.pc.in
index 8606b9b..2c9bd95 100644
--- a/glu.pc.in
+++ b/glu.pc.in
@@ -5,7 +5,9 @@ includedir=@INSTALL_INC_DIR@
Name: glu
Description: Mesa OpenGL Utility library
-Requires: gl
+Requires: @GLU_PC_REQ@
+Requires.private: @GLU_PC_REQ_PRIV@
Version: @VERSION@
-Libs: -L${libdir} -lGLU
-Cflags: -I${includedir}
+Libs: -L${libdir} -lGLU @GLU_PC_LIB@
+Libs.private: @GLU_PC_LIB_PRIV@
+Cflags: -I${includedir} @GLU_PC_CFLAGS@