summaryrefslogtreecommitdiffstats
path: root/src/glw/glw.pc.in
diff options
context:
space:
mode:
authorDan Nicholson <[email protected]>2008-11-24 11:01:57 -0800
committerDan Nicholson <[email protected]>2008-12-14 08:47:03 -0800
commit71e208bafe9ca5e1c189fae3f251cc84034e5959 (patch)
treed265a82d8f8d300f6b8e51e1db1eebf268910c8a /src/glw/glw.pc.in
parenta42342cd90c19d8c29093e91d07d7efab5b5d25a (diff)
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/glw/glw.pc.in')
-rw-r--r--src/glw/glw.pc.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/glw/glw.pc.in b/src/glw/glw.pc.in
index 25f3f73b8c6..5493093be19 100644
--- a/src/glw/glw.pc.in
+++ b/src/glw/glw.pc.in
@@ -6,6 +6,8 @@ includedir=@INSTALL_INC_DIR@
Name: glw
Description: Mesa OpenGL widget library
Requires: gl
+Requires.private: @GLW_PC_REQ_PRIV@
Version: @VERSION@
Libs: -L${libdir} -lGLw
-Cflags: -I${includedir}
+Libs.private: @GLW_PC_LIB_PRIV@
+Cflags: -I${includedir} @GLW_PC_CFLAGS@