mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-11 09:33:49 +00:00
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:
commit
89b83938a2
1
Makefile
1
Makefile
@ -149,6 +149,7 @@ glew.pc: glew.pc.in
|
|||||||
-e "s|@version@|$(GLEW_VERSION)|g" \
|
-e "s|@version@|$(GLEW_VERSION)|g" \
|
||||||
-e "s|@cflags@||g" \
|
-e "s|@cflags@||g" \
|
||||||
-e "s|@libname@|$(NAME)|g" \
|
-e "s|@libname@|$(NAME)|g" \
|
||||||
|
-e "s|@libgl@|$(LDFLAGS.GL)|g" \
|
||||||
-e "s|@requireslib@|$(LIBGLU)|g" \
|
-e "s|@requireslib@|$(LIBGLU)|g" \
|
||||||
< $< > $@
|
< $< > $@
|
||||||
|
|
||||||
|
@ -147,13 +147,13 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
if len(options.core):
|
if len(options.core):
|
||||||
for i in api[2].keys():
|
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])
|
writeExtension(f, i, api[2][i], api[0], api[1])
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
if len(options.extensions):
|
if len(options.extensions):
|
||||||
for i in api[3].keys():
|
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])
|
writeExtension(f, i, api[3][i], api[0], api[1])
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
|
@ -7,5 +7,5 @@ Name: glew
|
|||||||
Description: The OpenGL Extension Wrangler library
|
Description: The OpenGL Extension Wrangler library
|
||||||
Version: @version@
|
Version: @version@
|
||||||
Cflags: -I${includedir} @cflags@
|
Cflags: -I${includedir} @cflags@
|
||||||
Libs: -L${libdir} -l@libname@
|
Libs: -L${libdir} -l@libname@ @libgl@
|
||||||
Requires: @requireslib@
|
Requires: @requireslib@
|
||||||
|
Loading…
Reference in New Issue
Block a user