mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 13:23:08 +00:00
c56f161f93
If the -ldrm option is added before the virglrenderer library in the linker command line, the libdrm symbols will not be available, since they aren't used and will be dropped by the linker. Move the virglrenderer deps into a helper function to avoid duplication and call it after the virglrenderer build to get the linker options in the right order. BUG=b:244618790 TEST=tools/dev_container tools/presubmit --all # with wl-dmabuf feature Change-Id: I55cc96a28a1f02e7b6081d3cfa08bc3446b8e6a1 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3905092 Reviewed-by: Dennis Kempin <denniskempin@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
ffi | ||
src | ||
build.rs | ||
Cargo.toml |