Merge https://github.com/nigels-com/glew.git into master HEAD at Sun Mar 17 02:44:17 GMT 2019

This commit is contained in:
Gyusun Yeom 2019-03-17 02:44:17 +00:00
commit 89b83938a2
3 changed files with 4 additions and 3 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

@ -147,13 +147,13 @@ if __name__ == '__main__':
if len(options.core):
for i in api[2].keys():
f = open('%s/%s'%(options.core, i), 'w')
f = open('%s/%s'%(options.core, i), 'wb')
writeExtension(f, i, api[2][i], api[0], api[1])
f.close()
if len(options.extensions):
for i in api[3].keys():
f = open('%s/%s'%(options.extensions, i), 'w')
f = open('%s/%s'%(options.extensions, i), 'wb')
writeExtension(f, i, api[3][i], api[0], api[1])
f.close()

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@