mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 05:40:05 +00:00
Merge pull request #2630 from vabr-g/vabr-g-dlerror-patch
Include dlerror() in handling of failed dlopen()
This commit is contained in:
commit
3f4299d588
@ -220,7 +220,7 @@ struct InternalData2
|
||||
if (!m_x11_library)
|
||||
{
|
||||
// TODO: Properly handle this error.
|
||||
fprintf(stderr, "Error opening X11 library %s\n", X11_LIBRARY);
|
||||
fprintf(stderr, "Error opening X11 library %s: %s\n", X11_LIBRARY, dlerror());
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user