diff options
author | Tom Fogal <[email protected]> | 2009-04-29 10:32:46 -0600 |
---|---|---|
committer | Dan Nicholson <[email protected]> | 2009-04-29 12:15:07 -0700 |
commit | a9c97c5f2a9b880d01336a23134600e4b34429d0 (patch) | |
tree | e9076fdd84cfbf34984ba493e3cc3dbeecc6eb5a /src/mesa/Makefile | |
parent | 66f978625685d83b04c32b19b62c3cb8c0d25f74 (diff) |
Use variable library name in pkg-config output.
Previously the pkg-config output files would contain e.g. `-lGL'
and `-lGLU', even if the user modified their configuration to
build libraries with different names. This modifies the
pkg-config inputs, and corresponding makery, so that modifying the
output library name will cause the appropriate updated name to
appear in the pkg-config `-l' option.
Signed-off-by: Dan Nicholson <[email protected]>
Diffstat (limited to 'src/mesa/Makefile')
-rw-r--r-- | src/mesa/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/Makefile b/src/mesa/Makefile index 4ff28dae9bb..bb18bee8eaf 100644 --- a/src/mesa/Makefile +++ b/src/mesa/Makefile @@ -103,7 +103,8 @@ gl_pcedit = sed \ -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),' + -e 's,@GL_PC_CFLAGS@,$(GL_PC_CFLAGS),' \ + -e 's,@GL_LIB@,$(GL_LIB),' gl.pc: gl.pc.in $(gl_pcedit) $< > $@ |