diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2022-12-14 11:32:03 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2022-12-14 12:04:26 +0000 |
commit | d3431fe0b2c27a0ec5a4a2f7a9d3fbbede9a4555 (patch) | |
tree | d6c60763c7f0b8654fe591e3341105328adc184b | |
parent | dfe189dac4672b707b5a59538c63267773640c99 (diff) |
graphics/mesa-dri: drop USE_LDCONFIG due to dlopen(3)
OpenGL drivers in mesa-dri lack headers and cannot be used by ld(1)
via -l<lib> due to missing "lib" prefix. libglvnd uses dlopen(3)
to find lib(EGL|GLX)_mesa.so in mesa-libs which uses dlopen(3)
to find the drivers under ${PREFIX}/lib/dri (or LIBGL_DRIVERS_PATH).
Vulkan drivers in mesa-dri lack headers and only expose ICD symbols
for vulkan-loader which uses dlopen(3) to find the drivers via
${PREFIX}/share/vulkan/icd.d/*.json (or VK_ICD_FILENAMES).
Approved by: manu (on dev-commits-ports-main@ list)
-rw-r--r-- | graphics/mesa-dri/Makefile | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/graphics/mesa-dri/Makefile b/graphics/mesa-dri/Makefile index 956cfb1d6f3e..94c8503053a7 100644 --- a/graphics/mesa-dri/Makefile +++ b/graphics/mesa-dri/Makefile @@ -27,8 +27,6 @@ ZSTD_DESC= Use ZSTD for shader cache ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd ZSTD_MESON_ENABLED= zstd -USE_LDCONFIG= yes - .include <bsd.port.options.mk> .include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common" |