mesa/src
Mike Blumenkrantz b09f24b7af gallium: install gallium-$version.so to libdir
Installing this private library into the default library
search path avoids needing to rely on -Wl,-rpath,
which is inconsistently implemented as either DT_RUNPATH
or DT_RPATH on different distributions; in particular,
on distributions that implement it as DT_RPATH,
it interferes with use of LD_LIBRARY_PATH and has semantics
that are difficult to reason about, and is incompatible with
Steam's container runtime (which has the known limitation that
it only implements DT_RUNPATH and not DT_RPATH).

To avoid third-party developers being tempted to link to the
unstable libgallium, give it a name that varies with each Mesa release,
so that there is no obvious way for third-party software to link to it.
This is similar to the way the proprietary Nvidia driver sets up its similar
implementation-detail libraries such as libnvidia-glcore.so.535.183.01.

Fixes: 50fc7cc2 ("glx: directly link to gallium")

Acked-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30328>
(cherry picked from commit 9b7bb6cc9f)
2024-07-24 18:38:10 +02:00
..
amd amd/common: skip lane size determination for chips without image opcodes (e.g. gfx940) 2024-07-23 22:02:53 +02:00
android_stub vulkan/android: Add helper to probe AHB support 2024-05-14 14:53:44 +00:00
asahi format: Generate endian-independent format aliases 2024-07-19 13:50:42 +00:00
broadcom spirv: handle function parameters passed by value 2024-07-23 21:58:58 +02:00
c11 build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
compiler nir/opt_algebraic: use fmulz for fpow lowering to fix incorrect rendering 2024-07-23 22:02:54 +02:00
drm-shim drm-shim: stub synobj_timeline_wait and query ioctl 2024-07-16 11:17:59 +02:00
egl gallium: install gallium-$version.so to libdir 2024-07-24 18:38:10 +02:00
etnaviv format: Generate endian-independent format aliases 2024-07-19 13:50:42 +00:00
freedreno tu/kgsl: Remove unused variable 2024-07-23 21:58:54 +02:00
gallium gallium: install gallium-$version.so to libdir 2024-07-24 18:38:10 +02:00
gbm gallium: install gallium-$version.so to libdir 2024-07-24 18:38:10 +02:00
getopt build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
glx gallium: install gallium-$version.so to libdir 2024-07-24 18:38:10 +02:00
gtest build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
imagination pvr: Handle VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO 2024-07-23 22:02:50 +02:00
imgui
intel anv/trtt: fix the process of picking device->trtt.queue 2024-07-23 21:58:55 +02:00
loader loader: gc loader_get_extensions_name() and __DRI_DRIVER_{GET_,}EXTENSIONS defines 2024-07-21 14:59:05 +02:00
mapi mesa_interface: Move out of GL/internal/ 2024-07-17 23:47:05 +00:00
mesa mesa: fix memory leak when using shader cache 2024-07-23 22:02:17 +02:00
microsoft microsoft/clc: Split struct copies before vars_to_ssa in pre-inline optimizations 2024-07-23 21:58:56 +02:00
nouveau nak/spill_values: Don't assume no trivial phis 2024-07-24 10:19:29 +02:00
panfrost panvk: Fix image support in vertex jobs 2024-07-24 18:38:09 +02:00
tool build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
util util/glsl2spirv: fixup the generated depfile when copying sources 2024-07-23 22:02:51 +02:00
virtio venus: clarify wsi image ownership 2024-07-23 22:02:20 +02:00
vulkan format: Generate endian-independent format aliases 2024-07-19 13:50:42 +00:00
.clang-format asahi: add agx_ppp_push_merged helper 2024-05-14 04:57:27 +00:00
meson.build gbm: link directly with libgallium 2024-07-18 20:30:43 +00:00