[Mesa-users] Building static libraries under Linux

David Goodenough dgoodenough at roblox.com
Thu Sep 12 19:46:24 UTC 2019


I suspect that I'm doing something wrong, but as far as I can see, this
should work.

I downloaded the mesa-19.1.6 source, unpacked the tarball, and then
executed the following three commands:

meson build-mesa
meson configure build-mesa -Ddefault_library=both -Dosmesa=gallium
-Dgallium_drivers=swrast
ninja -C build-mesa

The intention is to build the statically linked OSMesa library that uses
the gallium drivers.  When the build had
finished build-mesa/src/gallium/targets/osmesa only contained the shared
library, there was no file anywhere in build-mesa that matched the pattern
*OSMesa*.a

What should I do to fix this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-users/attachments/20190912/48bb340b/attachment.html>


More information about the mesa-users mailing list