FlorianRhiem / pyGLFW

Python bindings for GLFW
MIT License
233 stars 36 forks source link

Use the lib64 directories on 64bit system #9

Closed cneumann closed 8 years ago

cneumann commented 8 years ago

Many distributions store the 64 bit libraries in /usr/lib64, look for the glfw.so there when running the 64bit python interpreter.

I do not know how this is handled on OS X and what directory names are typically used there, so there is a possibility this needs some refinement. If someone has the information I'd be happy to tweak this.

FlorianRhiem commented 8 years ago

Thank you. I added a commit to still use the lib directories as fallback, to still support systems which are 64bit but use /usr/lib and /usr/local/lib. I removed the 64 bit check, so the script will always try the directories (as with /usr/lib/x86_64-linux-gnu/). No harm done if they do not exist.