Author beng94
Recipients Hernan.Grecco, beng94, martin.panter
Date 2016-02-21.20:12:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1456085578.51.0.848938383879.issue21042@psf.upfronthosting.co.za>
In-reply-to
Content
I've added a new method to Test_OpenGL_libs as you suggested. I check whether find_library returns an absolute path. Note that I didn't distinguish different systems, as according to the docs, only Linux systems return the file name, other systems return the absolute path. (https://docs.python.org/3.5/library/ctypes.html#ctypes-reference) An other thing to note, that I introduced some code duplication as I use the same code snippet from setUpClass method to figure out the correct parameters to find_library.

The patch uses the same regex as you gave.

By the way, what do I have to do to compile CPython on a 64 bit system in 32 bit mode? I tried ./configure CC="gcc -m32" but it gave me an error. Is it the correct way?

Also, I signed contributor agreement.
History
Date User Action Args
2016-02-21 20:12:58beng94setrecipients: + beng94, martin.panter, Hernan.Grecco
2016-02-21 20:12:58beng94setmessageid: <1456085578.51.0.848938383879.issue21042@psf.upfronthosting.co.za>
2016-02-21 20:12:58beng94linkissue21042 messages
2016-02-21 20:12:58beng94create