Extend glew.pc output to mention GL linking (-framework on OSX)

This commit is contained in:
Nigel Stewart 2019-02-02 23:36:35 +10:00
parent 6f31e134f6
commit edca80e1a7
2 changed files with 2 additions and 1 deletions

View File

@ -149,6 +149,7 @@ glew.pc: glew.pc.in
-e "s|@version@|$(GLEW_VERSION)|g" \
-e "s|@cflags@||g" \
-e "s|@libname@|$(NAME)|g" \
-e "s|@libgl@|$(LDFLAGS.GL)|g" \
-e "s|@requireslib@|$(LIBGLU)|g" \
< $< > $@

View File

@ -7,5 +7,5 @@ Name: glew
Description: The OpenGL Extension Wrangler library
Version: @version@
Cflags: -I${includedir} @cflags@
Libs: -L${libdir} -l@libname@
Libs: -L${libdir} -l@libname@ @libgl@
Requires: @requireslib@