summaryrefslogtreecommitdiff
path: root/src/glut/glx/Makefile
diff options
context:
space:
mode:
authorTom Fogal <tfogal@alumni.unh.edu>2009-04-29 10:32:46 -0600
committerJosé Fonseca <jfonseca@vmware.com>2011-07-11 20:05:25 +0100
commit8e05d9474b6f1bf25acad7469dbeb45b0828e058 (patch)
tree3d7a7ffd0c69ff636cc534802d566f877057e76b /src/glut/glx/Makefile
parente05abc3a4bb5bcc1dd342dc3c9e0f96ee9d82c6d (diff)
downloadglut-8e05d9474b6f1bf25acad7469dbeb45b0828e058.tar.gz
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 <dbn.lists@gmail.com>
Diffstat (limited to 'src/glut/glx/Makefile')
-rw-r--r--src/glut/glx/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/glut/glx/Makefile b/src/glut/glx/Makefile
index bcbf2f5..a326b3a 100644
--- a/src/glut/glx/Makefile
+++ b/src/glut/glx/Makefile
@@ -107,7 +107,8 @@ pcedit = sed \
-e 's,@VERSION@,$(GLUT_MAJOR).$(GLUT_MINOR).$(GLUT_TINY),' \
-e 's,@GLUT_PC_REQ_PRIV@,$(GLUT_PC_REQ_PRIV),' \
-e 's,@GLUT_PC_LIB_PRIV@,$(GLUT_PC_LIB_PRIV),' \
- -e 's,@GLUT_PC_CFLAGS@,$(GLUT_PC_CFLAGS),'
+ -e 's,@GLUT_PC_CFLAGS@,$(GLUT_PC_CFLAGS),' \
+ -e 's,@GLUT_LIB@,$(GLUT_LIB),'
glut.pc: glut.pc.in
$(pcedit) $< > $@