summaryrefslogtreecommitdiff
path: root/src/glut/glx/glut.pc.in
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2008-11-24 11:01:57 -0800
committerJosé Fonseca <jfonseca@vmware.com>2011-07-11 20:05:23 +0100
commit61e9e50309a3fdf3e553080d9d9584a1ddf73dae (patch)
tree579611edce097c0b54a38a1b0d8f77e94a92e1f5 /src/glut/glx/glut.pc.in
parentb76478f86b8ff32b1639f1a6c2a567c09f8588a5 (diff)
downloadglut-61e9e50309a3fdf3e553080d9d9584a1ddf73dae.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 'src/glut/glx/glut.pc.in')
-rw-r--r--src/glut/glx/glut.pc.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/glut/glx/glut.pc.in b/src/glut/glx/glut.pc.in
index e8638fe..ae0689d 100644
--- a/src/glut/glx/glut.pc.in
+++ b/src/glut/glx/glut.pc.in
@@ -6,6 +6,8 @@ includedir=@INSTALL_INC_DIR@
Name: glut
Description: Mesa OpenGL Utility Toolkit library
Requires: gl glu
+Requires.private: @GLUT_PC_REQ_PRIV@
Version: @VERSION@
Libs: -L${libdir} -lglut
-Cflags: -I${includedir}
+Libs.private: @GLUT_PC_LIB_PRIV@
+Cflags: -I${includedir} @GLUT_PC_CFLAGS@