On 28/09/13 20:14, Paul Colomiets wrote: > [...] > > AFAICS, The whole point of the find_library is to find system library > and find out the exact version of it (e.g. libm.so.6). Given we don't > want to have multiple versions and given that the whole intention is > to *override* system libraries, I think it's safe to just use CDLL(dir > + 'libname.so') before trying to find_library.
You're right but I think I've done it slightly better. Please see the following issue (has the patch): http://code.google.com/p/pyglet/issues/detail?id=671 It's explained there. Let me know if I've done anything stupid but this should allow us to load libraries from the same directory the script is run *or* a subdirectory called "lib". Regards, Juan -- jjm's home: http://www.usebox.net/jjm/ blackshell: http://blackshell.usebox.net/ -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/groups/opt_out.
