Commit f2c9ce1e by AWoloszyn Committed by Andrew Woloszyn

Fix xcb library name.

The name is wrong, so this only really worked if xcb was actually linked normally, if the user opened it in another way (dlopen) this would get missed. Bug: b/139491466 Change-Id: Ib9a84bd7424a1c4bf027ecb9f1a5b9af6d7210b3 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/38368Reviewed-by: 's avatarBen Clayton <bclayton@google.com> Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com> Tested-by: 's avatarAndrew Woloszyn <awoloszyn@google.com>
parent 0d0ed6fd
...@@ -72,7 +72,7 @@ private: ...@@ -72,7 +72,7 @@ private:
return std::unique_ptr<LibXcbExports>(new LibXcbExports(RTLD_DEFAULT)); return std::unique_ptr<LibXcbExports>(new LibXcbExports(RTLD_DEFAULT));
} }
if (auto lib = loadLibrary("libXcb.so")) if (auto lib = loadLibrary("libxcb.so.1"))
{ {
return std::unique_ptr<LibXcbExports>(new LibXcbExports(lib)); return std::unique_ptr<LibXcbExports>(new LibXcbExports(lib));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment