[ctypes-commit] ctypes/ctypes/test test_posix.py,1.4.4.5,1.4.4.6
Brought to you by:
theller
From: Thomas H. <th...@us...> - 2006-04-13 11:31:10
|
Update of /cvsroot/ctypes/ctypes/ctypes/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16259 Modified Files: Tag: LoadLibrary_branch test_posix.py Log Message: Some systems need RTLD_GLOBAL for libGL.so, otherwise libGLU.so does not load. Index: test_posix.py =================================================================== RCS file: /cvsroot/ctypes/ctypes/ctypes/test/test_posix.py,v retrieving revision 1.4.4.5 retrieving revision 1.4.4.6 diff -C2 -d -r1.4.4.5 -r1.4.4.6 *** test_posix.py 13 Apr 2006 10:35:50 -0000 1.4.4.5 --- test_posix.py 13 Apr 2006 11:31:03 -0000 1.4.4.6 *************** *** 7,14 **** lib_gl = _findLib("GL") print "GL", lib_gl - if lib_gl: - CDLL(lib_gl)#, mode=RTLD_GLOBAL) lib_glu = _findLib("GLU") print "GLU", lib_glu if lib_glu: CDLL(lib_glu) --- 7,14 ---- lib_gl = _findLib("GL") print "GL", lib_gl lib_glu = _findLib("GLU") print "GLU", lib_glu + if lib_gl: + CDLL(lib_gl, mode=RTLD_GLOBAL) if lib_glu: CDLL(lib_glu) |