Update glfw.py
Add simple parser for ldsoconf to find libraries
Doesn't accept relative include paths in ld.so.conf.
Can you post some examples of the relative paths you have in ld.so.conf and I can see how it breaks ?
$ cat /etc/ld.so.conf
include ld.so.conf.d/*.conf
(edit, that's actually Fedora 26, where we need to add '/usr/lib64' manually, that's not listed within ld.so.conf*)
Does Fedora26 not include /usr/lib64 in any of the confs at all ?
In that case I guess my parser is in vain.
It is fixed to work with relative paths.
Does Fedora26 not include /usr/lib64 in any of the confs at all ?
Nope, but I kind of "hoped" that we could add /usr/lib64 into the list of standard lib directories also through this PR; but it's up to you (I'm passing by really accidentally, because of https://bugzilla.redhat.com/show_bug.cgi?id=1503042)
Is /usr/local/lib64 also a thing ?
This probably makes sense as a separate pull request as it does less than this one, so has more chance of being accepted (though this one is 2+ years old)
Is /usr/local/lib64 also a thing ?
Definitely less important than /usr/lib64. Nothing is really installed (by system packages) under /usr/local on FHS distro.
This probably makes sense as a separate pull request
ACK.