summaryrefslogtreecommitdiff
path: root/src/mesa/Makefile
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
commit71e208bafe9ca5e1c189fae3f251cc84034e5959 (patch)
treed265a82d8f8d300f6b8e51e1db1eebf268910c8a /src/mesa/Makefile
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/mesa/Makefile')
-rw-r--r--src/mesa/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/Makefile b/src/mesa/Makefile
index ba65ce695f..42a8673f4d 100644
--- a/src/mesa/Makefile
+++ b/src/mesa/Makefile
@@ -92,7 +92,10 @@ pcedit = sed \
-e 's,@INSTALL_DIR@,$(INSTALL_DIR),' \
-e 's,@INSTALL_LIB_DIR@,$(INSTALL_LIB_DIR),' \
-e 's,@INSTALL_INC_DIR@,$(INSTALL_INC_DIR),' \
- -e 's,@VERSION@,$(MESA_MAJOR).$(MESA_MINOR).$(MESA_TINY),'
+ -e 's,@VERSION@,$(MESA_MAJOR).$(MESA_MINOR).$(MESA_TINY),' \
+ -e 's,@GL_PC_REQ_PRIV@,$(GL_PC_REQ_PRIV),' \
+ -e 's,@GL_PC_LIB_PRIV@,$(GL_PC_LIB_PRIV),' \
+ -e 's,@GL_PC_CFLAGS@,$(GL_PC_CFLAGS),'
gl.pc: gl.pc.in
$(pcedit) $< > $@